avformat/segafilm: check 2nd tag

Fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-11-06 12:56:42 +01:00
parent ff1d81b08c
commit 3e6b7bbce5
1 changed files with 3 additions and 0 deletions

View File

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