]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tedcaptionsdec.c
avfilter/vf_blend: use time_base from framesync
[ffmpeg] / libavformat / tedcaptionsdec.c
index 774d4993b5f1e7c11891ebf69cfb699d48562425..5572bfd9316772c6196d7703a87714285ab98d64 100644 (file)
@@ -94,7 +94,7 @@ static int parse_string(AVIOContext *pb, int *cur_byte, AVBPrint *bp, int full)
 {
     int ret;
 
-    av_bprint_init(bp, 0, full ? -1 : 1);
+    av_bprint_init(bp, 0, full ? AV_BPRINT_SIZE_UNLIMITED : AV_BPRINT_SIZE_AUTOMATIC);
     ret = expect_byte(pb, cur_byte, '"');
     if (ret < 0)
         goto fail;
@@ -321,7 +321,7 @@ static int tedcaptions_read_close(AVFormatContext *avf)
     return 0;
 }
 
-static av_cold int tedcaptions_read_probe(AVProbeData *p)
+static av_cold int tedcaptions_read_probe(const AVProbeData *p)
 {
     static const char *const tags[] = {
         "\"captions\"", "\"duration\"", "\"content\"",