Browse code

Fix mpeg-ps misdetected as m4v. Fix issue2326

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

Michael Niedermayer authored on 2011/03/10 18:32:46
Showing 1 changed files
... ...
@@ -45,7 +45,7 @@ static int mpeg4video_probe(AVProbeData *probe_packet)
45 45
     }
46 46
 
47 47
     if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 && res==0)
48
-        return AVPROBE_SCORE_MAX/2;
48
+        return VOP+VO > 3 ? AVPROBE_SCORE_MAX/2 : AVPROBE_SCORE_MAX/4;
49 49
     return 0;
50 50
 }
51 51