[Ffmpeg-cvslog] r6948 - trunk/libavformat/mp3.c

michael subversion
Wed Nov 8 23:49:55 CET 2006


Author: michael
Date: Wed Nov  8 23:49:55 2006
New Revision: 6948

Modified:
   trunk/libavformat/mp3.c

Log:
fix missdetection of mpeg-ps (ps2_interdite.mpg)


Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c	(original)
+++ trunk/libavformat/mp3.c	Wed Nov  8 23:49:55 2006
@@ -256,7 +256,7 @@
         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;




More information about the ffmpeg-cvslog mailing list