diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 13:29:37 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-10 20:26:36 -0300 |
commit | d8a18c8fc2907004448cb45e704dc82bcd2df528 (patch) | |
tree | 224b56fc77577dc547649eb0acc5fd4a6ac12650 /libavcodec/imx.c | |
parent | 42e68fe01587b541c9ced34906b09e3c9c894e74 (diff) | |
download | ffmpeg-d8a18c8fc2907004448cb45e704dc82bcd2df528.tar.gz |
avcodec: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/imx.c')
-rw-r--r-- | libavcodec/imx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/imx.c b/libavcodec/imx.c index 982175d8c0..0d6c99e5bf 100644 --- a/libavcodec/imx.c +++ b/libavcodec/imx.c @@ -49,7 +49,8 @@ static int imx_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) { SimbiosisIMXContext *imx = avctx->priv_data; - int ret, x, y, pal_size; + int ret, x, y; + buffer_size_t pal_size; const uint8_t *pal = av_packet_get_side_data(avpkt, AV_PKT_DATA_PALETTE, &pal_size); AVFrame *frame = imx->frame; GetByteContext gb; |