lavc/utils: fix extra ASS sanity check in convert_sub_to_old_ass_form()

This commit is contained in:
Clément Bœsch 2016-03-07 21:47:47 +01:00
parent 8c24523cc5
commit 2b7a61cbd8
1 changed files with 1 additions and 1 deletions

View 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; int ts_start, ts_duration = -1;
long int layer; long int layer;
if (rect->type != SUBTITLE_ASS || !strncmp(rect->ass, "Dialogue ", 10)) if (rect->type != SUBTITLE_ASS || !strncmp(rect->ass, "Dialogue: ", 10))
continue; continue;
av_bprint_clear(&buf); av_bprint_clear(&buf);