diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-06 12:56:42 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-06 12:56:42 +0100 |
commit | 3e6b7bbce510c53b4d7962f29aaf745c9b729775 (patch) | |
tree | eb134418a63fa765a9a052d81d4446c1eb2055e5 /libavformat/segafilm.c | |
parent | ff1d81b08c06da62bc567ce7aadbcbf3d652b740 (diff) | |
download | ffmpeg-3e6b7bbce510c53b4d7962f29aaf745c9b729775.tar.gz |
avformat/segafilm: check 2nd tag
Fixes probetest failure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/segafilm.c')
-rw-r--r-- | libavformat/segafilm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c index a56568c300..8a0e8bc3c6 100644 --- a/libavformat/segafilm.c +++ b/libavformat/segafilm.c @@ -69,6 +69,9 @@ static int film_probe(AVProbeData *p) if (AV_RB32(&p->buf[0]) != FILM_TAG) return 0; + if (AV_RB32(&p->buf[16]) != FDSC_TAG) + return 0; + return AVPROBE_SCORE_MAX; } |