From b83e0903ec4d2cb555fb5ba9c28c2dabde8091e5 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 9 Jul 2014 17:02:34 +0200 Subject: [PATCH] avformat/m4vdec: raise threshold slightly for detection Fixes Ticket3746 Signed-off-by: Michael Niedermayer --- libavformat/m4vdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/m4vdec.c b/libavformat/m4vdec.c index c2fd4d7ab6..ead0066cca 100644 --- a/libavformat/m4vdec.c +++ b/libavformat/m4vdec.c @@ -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; }