[FFmpeg-cvslog] r9931 - trunk/libavformat/raw.c

jbr subversion
Sun Aug 5 05:36:51 CEST 2007


Author: jbr
Date: Sun Aug  5 05:36:50 2007
New Revision: 9931

Log:
10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable.

Modified:
   trunk/libavformat/raw.c

Modified: trunk/libavformat/raw.c
==============================================================================
--- trunk/libavformat/raw.c	(original)
+++ trunk/libavformat/raw.c	Sun Aug  5 05:36:50 2007
@@ -429,7 +429,7 @@ static int ac3_probe(AVProbeData *p)
             first_frames = frames;
     }
     if   (first_frames>=3) return AVPROBE_SCORE_MAX * 3 / 4;
-    else if(max_frames>=2 || first_frames>=1) return AVPROBE_SCORE_MAX / 2;
+    else if(max_frames>=3) return AVPROBE_SCORE_MAX / 2;
     else if(max_frames>=1) return 1;
     else                   return 0;
 }




More information about the ffmpeg-cvslog mailing list