[FFmpeg-devel] [PATCH 07/20] avformat/sccdec: Remove redundant check
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Oct 2 00:08:24 EEST 2021
The av_sscanf() will filter lines like "Scenarist_SCC V1.0" out.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavformat/sccdec.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavformat/sccdec.c b/libavformat/sccdec.c
index 1861a99aad..efd6024001 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;
--
2.30.2
More information about the ffmpeg-devel
mailing list