# HG changeset patch # User jbr # Date 1186285010 0 # Node ID 7f6e228030385a1b989ee7949ee3906e18db4498 # Parent a8122196ad95f6fe9185921ffd313bea8b0f6900 10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable. diff -r a8122196ad95 -r 7f6e22803038 raw.c --- 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; }