From d8a18c8fc2907004448cb45e704dc82bcd2df528 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 6 Mar 2021 13:29:37 -0300 Subject: avcodec: use the buffer_size_t typedef where required Signed-off-by: James Almer --- libavcodec/rscc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/rscc.c') diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c index 07a7c3dca3..79b02da441 100644 --- a/libavcodec/rscc.c +++ b/libavcodec/rscc.c @@ -346,7 +346,7 @@ static int rscc_decode_frame(AVCodecContext *avctx, void *data, /* Palette handling */ if (avctx->pix_fmt == AV_PIX_FMT_PAL8) { - int size; + buffer_size_t size; const uint8_t *palette = av_packet_get_side_data(avpkt, AV_PKT_DATA_PALETTE, &size); -- cgit v1.2.3