[FFmpeg-cvslog] libswscale/arm/swscale_unscaled: Fix function prototype

Adam Lackorzynski git at videolan.org
Sun Mar 2 01:10:59 EET 2025


ffmpeg | branch: master | Adam Lackorzynski <adam at l4re.org> | Mon Feb 24 22:07:53 2025 +0100| [76b18100177843f443276e02a9592bbae9cd09c8] | committer: Martin Storsjö

libswscale/arm/swscale_unscaled: Fix function prototype

Constify dstStrice argument of rgbx_to_nv12_neon_16_wrapper to be
compatible with other functions as used in function assignment.

Signed-off-by: Adam Lackorzynski <adam at l4re.org>
Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=76b18100177843f443276e02a9592bbae9cd09c8
---

 libswscale/arm/swscale_unscaled.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/arm/swscale_unscaled.c b/libswscale/arm/swscale_unscaled.c
index 5c3074a0cd..c526ea1c50 100644
--- a/libswscale/arm/swscale_unscaled.c
+++ b/libswscale/arm/swscale_unscaled.c
@@ -50,7 +50,7 @@ static int rgbx_to_nv12_neon_32_wrapper(SwsInternal *context, const uint8_t *con
 
 static int rgbx_to_nv12_neon_16_wrapper(SwsInternal *context, const uint8_t *const src[],
                         const int srcStride[], int srcSliceY, int srcSliceH,
-                        uint8_t *const dst[], int dstStride[]) {
+                        uint8_t *const dst[], const int dstStride[]) {
 
     rgbx_to_nv12_neon_16(src[0] + srcSliceY * srcStride[0],
             dst[0] + srcSliceY * dstStride[0],



More information about the ffmpeg-cvslog mailing list