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>
This commit is contained in:
Andreas Rheinhardt 2021-10-01 15:11:54 +02:00
parent 60e12318bb
commit e1d2a208a9
1 changed files with 0 additions and 2 deletions

View File

@ -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;