]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/tedcaptionsdec.c
Merge commit 'f25117a4286505b38c12466ef04459471de3c1b0'
[ffmpeg] / libavformat / tedcaptionsdec.c
index 774d4993b5f1e7c11891ebf69cfb699d48562425..cd6ab0c24b7d2efe74d17f3ffa8f2dfb14b175a9 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;