[FFmpeg-cvslog] lavc/utils: fix extra ASS sanity check in convert_sub_to_old_ass_form()

Clément Bœsch git at videolan.org
Mon Mar 7 21:50:35 CET 2016


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Mon Mar  7 21:47:47 2016 +0100| [2b7a61cbd8ae134f839c4347a4c289e1e11475a3] | committer: Clément Bœsch

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b7a61cbd8ae134f839c4347a4c289e1e11475a3
---

 libavcodec/utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index bbb9804..c625bbc 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -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);



More information about the ffmpeg-cvslog mailing list