From a150883d079b9ed00f14f575cd0a304fcefb1919 Mon Sep 17 00:00:00 2001 From: Courville Software Date: Thu, 11 Jan 2024 23:29:50 +0100 Subject: [PATCH] libyuv upstep requires uint8_t --- Source/codec_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/codec_utils.c b/Source/codec_utils.c index 4fbf216..bd06c86 100644 --- a/Source/codec_utils.c +++ b/Source/codec_utils.c @@ -1058,7 +1058,7 @@ static void _convert( int pixfmt, unsigned char *src_data[], int src_linesize[], #endif #ifdef CONFIG_LIBYUV - int (*convert_libyuv)(const uint8*, int, const uint8*, int, const uint8*, int, uint8*, int, int, int) = NULL; + int (*convert_libyuv)(const uint8_t*, int, const uint8_t*, int, const uint8_t*, int, uint8_t*, int, int, int) = NULL; switch( frame->colorspace ) { case AV_IMAGE_YUV_422: switch( pixfmt ) {