diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-01 15:11:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-02 17:14:34 +0200 |
commit | e1d2a208a9be655062b57a19337447631f55e203 (patch) | |
tree | 21b36f04424b94774d163a16252c94d0716c6898 | |
parent | 60e12318bb9372b3053703f2a3b849270b9d2fe5 (diff) | |
download | ffmpeg-e1d2a208a9be655062b57a19337447631f55e203.tar.gz |
avformat/sccdec: Remove redundant check
The av_sscanf() will filter lines like "Scenarist_SCC V1.0" out.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavformat/sccdec.c | 2 |
1 files changed, 0 insertions, 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; |