avformat/segafilm: check 2nd tag

Fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/45/merge
Michael Niedermayer 11 years ago
parent ff1d81b08c
commit 3e6b7bbce5
  1. 3
      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;
}

Loading…
Cancel
Save