[FFmpeg-cvslog] avformat/m4vdec: raise threshold slightly for detection
Michael Niedermayer
git at videolan.org
Wed Jul 9 17:10:06 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jul 9 17:02:34 2014 +0200| [b83e0903ec4d2cb555fb5ba9c28c2dabde8091e5] | committer: Michael Niedermayer
avformat/m4vdec: raise threshold slightly for detection
Fixes Ticket3746
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b83e0903ec4d2cb555fb5ba9c28c2dabde8091e5
---
libavformat/m4vdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/m4vdec.c b/libavformat/m4vdec.c
index c2fd4d7..ead0066 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;
}
More information about the ffmpeg-cvslog
mailing list