]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/srtdec.c
avutil/buffer: Switch AVBuffer API to size_t
[ffmpeg] / libavcodec / srtdec.c
index ecc080159546ba0a7e5278e54e842233cbad1f01..e77b94f74e9d457786999a50e225a314acdbaf10 100644 (file)
@@ -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;
+    size_t size;
     const uint8_t *p = av_packet_get_side_data(avpkt, AV_PKT_DATA_SUBTITLE_POSITION, &size);
     FFASSDecoderContext *s = avctx->priv_data;