From e1d2a208a9be655062b57a19337447631f55e203 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 1 Oct 2021 15:11:54 +0200 Subject: [PATCH] avformat/sccdec: Remove redundant check The av_sscanf() will filter lines like "Scenarist_SCC V1.0" out. Reviewed-by: Paul B Mahol Signed-off-by: Andreas Rheinhardt --- 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;