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/srtdec.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/srtdec.c')
-rw-r--r-- | libavcodec/srtdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index ecc0801595..98f84ac673 100644 --- a/libavcodec/srtdec.c +++ b/libavcodec/srtdec.c @@ -58,7 +58,8 @@ static int srt_decode_frame(AVCodecContext *avctx, AVSubtitle *sub = data; AVBPrint buffer; int x1 = -1, y1 = -1, x2 = -1, y2 = -1; - int size, ret; + int ret; + buffer_size_t size; const uint8_t *p = av_packet_get_side_data(avpkt, AV_PKT_DATA_SUBTITLE_POSITION, &size); FFASSDecoderContext *s = avctx->priv_data; |