mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
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:
parent
60e12318bb
commit
e1d2a208a9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user