summaryrefslogtreecommitdiff
path: root/libavformat/mp3dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mp3dec.c')
-rw-r--r--libavformat/mp3dec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index 5aee21fe28..bf12fdb2c5 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -81,7 +81,10 @@ static int mp3_read_probe(AVProbeData *p)
}
// keep this in sync with ac3 probe, both need to avoid
// issues with MPEG-files!
- if (first_frames >= 4) return AVPROBE_SCORE_EXTENSION + 1;
+ if (first_frames >= 10)
+ return AVPROBE_SCORE_EXTENSION + 5;
+ if (first_frames >= 4)
+ return AVPROBE_SCORE_EXTENSION + 1;
if (max_frames) {
int pes = 0, i;