diff options
author | James Almer <jamrial@gmail.com> | 2021-03-06 19:29:37 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-11 02:26:36 +0300 |
commit | d8a18c8fc2907004448cb45e704dc82bcd2df528 (patch) | |
tree | 224b56fc77577dc547649eb0acc5fd4a6ac12650 /libavcodec/h264dec.c | |
parent | 42e68fe01587b541c9ced34906b09e3c9c894e74 (diff) |
avcodec: use the buffer_size_t typedef where required
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/h264dec.c')
-rw-r--r-- | libavcodec/h264dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 8856be0f59..47b9abbc5c 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -975,7 +975,7 @@ static int h264_decode_frame(AVCodecContext *avctx, void *data, return send_next_delayed_frame(h, pict, got_frame, 0); if (av_packet_get_side_data(avpkt, AV_PKT_DATA_NEW_EXTRADATA, NULL)) { - int side_size; + buffer_size_t side_size; uint8_t *side = av_packet_get_side_data(avpkt, AV_PKT_DATA_NEW_EXTRADATA, &side_size); ff_h264_decode_extradata(side, side_size, &h->ps, &h->is_avc, &h->nal_length_size, |