avformat/m4vdec: raise threshold slightly for detection
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Jul 2014 15:02:34 +0000 (17:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 9 Jul 2014 15:02:34 +0000 (17:02 +0200)
Fixes Ticket3746

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/m4vdec.c

index c2fd4d7..ead0066 100644 (file)
@@ -45,7 +45,7 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
     }
 
     if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 && res==0)
-        return VOP+VO > 3 ? AVPROBE_SCORE_EXTENSION : AVPROBE_SCORE_EXTENSION/2;
+        return VOP+VO > 4 ? AVPROBE_SCORE_EXTENSION : AVPROBE_SCORE_EXTENSION/2;
     return 0;
 }