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

Zhao Zhili quinkblack at foxmail.com
Tue Feb 25 04:42:17 EET 2025



> On Feb 25, 2025, at 05:07, Adam Lackorzynski <adam at l4re.org> wrote:
> 
> 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[]) {

LGTM.

> 
>     rgbx_to_nv12_neon_16(src[0] + srcSliceY * srcStride[0],
>             dst[0] + srcSliceY * dstStride[0],
> -- 
> 2.47.2
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list