summaryrefslogtreecommitdiff
path: root/libavformat/sccdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-01 15:11:54 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-02 17:14:34 +0200
commite1d2a208a9be655062b57a19337447631f55e203 (patch)
tree21b36f04424b94774d163a16252c94d0716c6898 /libavformat/sccdec.c
parent60e12318bb9372b3053703f2a3b849270b9d2fe5 (diff)
downloadffmpeg-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>
Diffstat (limited to 'libavformat/sccdec.c')
-rw-r--r--libavformat/sccdec.c2
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;