ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Fri Oct  1 15:11:54 2021 +0200| [e1d2a208a9be655062b57a19337447631f55e203] | 
committer: Andreas Rheinhardt

avformat/sccdec: Remove redundant check

The av_sscanf() will filter lines like "Scenarist_SCC V1.0" out.

Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

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

 libavformat/sccdec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/sccdec.c b/libavformat/sccdec.c
index 61b6acf637..6abe252b76 100644
--- a/libavformat/sccdec.c
+++ b/libavformat/sccdec.c
@@ -88,8 +88,6 @@ static int scc_read_header(AVFormatContext *s)
                 break;
             continue;
         }
-                if (!strncmp(line, "Scenarist_SCC V1.0", 18))
-                    continue;
         if (av_sscanf(line, "%d:%d:%d%*[:;]%d", &hh, &mm, &ss, &fs) != 4)
             continue;
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to