lavc/utils: fix extra ASS sanity check in convert_sub_to_old_ass_form()
authorClément Bœsch <u@pkh.me>
Mon, 7 Mar 2016 20:47:47 +0000 (21:47 +0100)
committerClément Bœsch <u@pkh.me>
Mon, 7 Mar 2016 20:48:55 +0000 (21:48 +0100)
libavcodec/utils.c

index bbb9804..c625bbc 100644 (file)
@@ -2486,7 +2486,7 @@ static int convert_sub_to_old_ass_form(AVSubtitle *sub, const AVPacket *pkt, AVR
         int ts_start, ts_duration = -1;
         long int layer;
 
-        if (rect->type != SUBTITLE_ASS || !strncmp(rect->ass, "Dialogue ", 10))
+        if (rect->type != SUBTITLE_ASS || !strncmp(rect->ass, "Dialogue: ", 10))
             continue;
 
         av_bprint_clear(&buf);