From 1f51da1b4afe0476cee8f5e608000661716d67b6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 8 Nov 2006 22:49:55 +0000 Subject: [PATCH] fix missdetection of mpeg-ps (ps2_interdite.mpg) Originally committed as revision 6948 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mp3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mp3.c b/libavformat/mp3.c index 0e39d25ba7..723980c839 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -256,7 +256,7 @@ static int mp3_read_probe(AVProbeData *p) return 0; if(id3_match(p->buf)) - return AVPROBE_SCORE_MAX; + return AVPROBE_SCORE_MAX/2+1; // this must be less then mpeg-ps because some retards put id3 tage before mpeg-ps files max_frames = 0; buf = p->buf; -- GitLab