[FFmpeg-devel] [PATCH] libswscale/arm/swscale_unscaled: Fix function prototype
Adam Lackorzynski
adam at l4re.org
Mon Feb 24 23:07:53 EET 2025
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>
---
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],
--
2.47.2
More information about the ffmpeg-devel
mailing list