Browse code

avformat/segafilm: check 2nd tag

Fixes probetest failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2013/11/06 20:56:42
Showing 1 changed files
... ...
@@ -69,6 +69,9 @@ static int film_probe(AVProbeData *p)
69 69
     if (AV_RB32(&p->buf[0]) != FILM_TAG)
70 70
         return 0;
71 71
 
72
+    if (AV_RB32(&p->buf[16]) != FDSC_TAG)
73
+        return 0;
74
+
72 75
     return AVPROBE_SCORE_MAX;
73 76
 }
74 77