changeset 2313:7f6e22803038 libavformat

10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable.
author jbr
date Sun, 05 Aug 2007 03:36:50 +0000
parents a8122196ad95
children 85ed1e2ce41e
files raw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/raw.c	Sun Aug 05 02:17:06 2007 +0000
+++ b/raw.c	Sun Aug 05 03:36:50 2007 +0000
@@ -429,7 +429,7 @@
             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;
 }