avformat/mpeg: update comment on probe score
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 9 Sep 2014 00:51:59 +0000 (02:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 9 Sep 2014 00:51:59 +0000 (02:51 +0200)
Found-by: Timothy Gu <timothygu99@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpeg.c

index 8b070f71c5852accc10179bcdd384403fdf4d4b9..82cb415edd40850528ff56bee5a8a936d7db4f3a 100644 (file)
@@ -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