summaryrefslogtreecommitdiff
path: root/libavcodec/rscc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-03-06 13:29:37 -0300
committerJames Almer <jamrial@gmail.com>2021-03-10 20:26:36 -0300
commitd8a18c8fc2907004448cb45e704dc82bcd2df528 (patch)
tree224b56fc77577dc547649eb0acc5fd4a6ac12650 /libavcodec/rscc.c
parent42e68fe01587b541c9ced34906b09e3c9c894e74 (diff)
avcodec: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/rscc.c')
-rw-r--r--libavcodec/rscc.c2
1 files changed, 1 insertions, 1 deletions
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);