From 76b18100177843f443276e02a9592bbae9cd09c8 Mon Sep 17 00:00:00 2001 From: Adam Lackorzynski Date: Mon, 24 Feb 2025 22:07:53 +0100 Subject: [PATCH] libswscale/arm/swscale_unscaled: Fix function prototype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Martin Storsjö --- 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],