]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/realtextdec.c
lavf/webvttenc: Require webvtt file to contain exactly one WebVTT stream.
[ffmpeg] / libavformat / realtextdec.c
index fff85d6ba9201278cee892fec6d5d12c8e0f8ea6..f13321c91a9922aaf8913dabbb833fdb29b1cf0a 100644 (file)
@@ -115,7 +115,7 @@ static int realtext_read_header(AVFormatContext *s)
         }
         av_bprint_clear(&buf);
     }
-    ff_subtitles_queue_finalize(&rt->q);
+    ff_subtitles_queue_finalize(s, &rt->q);
 
 end:
     av_bprint_finalize(&buf, NULL);