]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/assdec.c
Print a warning if a subtitle demuxer changes utf16 to utf8.
[ffmpeg] / libavformat / assdec.c
index ccbf4c00cd6d2bc081bde042d0e722a28a0641de..c62e76f0ddba50cb18ed94fe21e2434ab9a32914 100644 (file)
@@ -112,7 +112,7 @@ static int ass_read_header(AVFormatContext *s)
     int res = 0;
     AVStream *st;
     FFTextReader tr;
-    ff_text_init_avio(&tr, s->pb);
+    ff_text_init_avio(s, &tr, s->pb);
 
     st = avformat_new_stream(s, NULL);
     if (!st)