1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

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@l4re.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Adam Lackorzynski
2025-02-24 22:07:53 +01:00
committed by Martin Storsjö
parent 0245e9382c
commit 76b1810017

View File

@@ -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[], static int rgbx_to_nv12_neon_16_wrapper(SwsInternal *context, const uint8_t *const src[],
const int srcStride[], int srcSliceY, int srcSliceH, 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], rgbx_to_nv12_neon_16(src[0] + srcSliceY * srcStride[0],
dst[0] + srcSliceY * dstStride[0], dst[0] + srcSliceY * dstStride[0],