mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/utils: fix extra ASS sanity check in convert_sub_to_old_ass_form()
This commit is contained in:
parent
8c24523cc5
commit
2b7a61cbd8
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue