Commit c6a06063 authored by jbr's avatar jbr

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9931 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 36465396
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment