ffmpeg | branch: master | Michael Niedermayer <[email protected]> | Tue Sep 9 02:51:59 2014 +0200| [f7bbe0f414f8cd495798522c61aec750ebdcf913] | committer: Michael Niedermayer
avformat/mpeg: update comment on probe score Found-by: Timothy Gu <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7bbe0f414f8cd495798522c61aec750ebdcf913 --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 8b070f7..82cb415 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -101,7 +101,7 @@ static int mpegps_probe(AVProbeData *p) if (sys > invalid && sys * 9 <= pspack * 10) return (audio > 12 || vid > 3 || pspack > 2) ? AVPROBE_SCORE_EXTENSION + 2 - : AVPROBE_SCORE_EXTENSION / 2 + 1; // 1 more than .mpg + : AVPROBE_SCORE_EXTENSION / 2 + 1; // 1 more than mp3 if (pspack > invalid && (priv1 + vid + audio) * 10 >= pspack * 9) return pspack > 2 ? AVPROBE_SCORE_EXTENSION + 2 : AVPROBE_SCORE_EXTENSION / 2; // 1 more than .mpg _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
