Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-11-09 01:49:55 +0300
committerMichael Niedermayer <michaelni@gmx.at>2006-11-09 01:49:55 +0300
commit1f51da1b4afe0476cee8f5e608000661716d67b6 (patch)
treefc8f53588ad10dfbc3cf6db25321e0194162dd09 /libavformat
parent09c2b9421dc74b9e97472d3f38a0a2a0b0ad21ca (diff)
fix missdetection of mpeg-ps (ps2_interdite.mpg)
Originally committed as revision 6948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mp3.c2
1 files changed, 1 insertions, 1 deletions
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;