fix missdetection of mpeg-ps (ps2_interdite.mpg)

Originally committed as revision 6948 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-11-08 22:49:55 +00:00
parent 09c2b9421d
commit 1f51da1b4a

View File

@ -256,7 +256,7 @@ static int mp3_read_probe(AVProbeData *p)
return 0; return 0;
if(id3_match(p->buf)) 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; max_frames = 0;
buf = p->buf; buf = p->buf;