diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-07 19:18:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-09 01:10:55 +0200 |
commit | 5109ce2017c15202275b33bce58ec9d88044eeb5 (patch) | |
tree | 7283421610cec2c23bc1d7345947676dfbda5d1d | |
parent | 6daff3bd8f30881d489aefebeca13f87f5290337 (diff) | |
download | ffmpeg-5109ce2017c15202275b33bce58ec9d88044eeb5.tar.gz |
avformat/mpeg: increase score for short mpeg-ps by 1
Fixes Ticket 3855
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 056db2ebc2..8b070f71c5 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 more than .mpg + : AVPROBE_SCORE_EXTENSION / 2 + 1; // 1 more than .mpg if (pspack > invalid && (priv1 + vid + audio) * 10 >= pspack * 9) return pspack > 2 ? AVPROBE_SCORE_EXTENSION + 2 : AVPROBE_SCORE_EXTENSION / 2; // 1 more than .mpg |