aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2007-08-05 03:36:50 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2007-08-05 03:36:50 +0000
commit2477ce23223695b665142ee5a4eb85f0b88c9cb2 (patch)
tree80a26828eeffc429265acf83c23ef6bebfadbfa9 /libavformat
parent4cd25081390136c853c7fb5dc55fb53e5a388409 (diff)
downloadffmpeg-2477ce23223695b665142ee5a4eb85f0b88c9cb2.tar.gz
10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too probable.
Originally committed as revision 9931 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/raw.c b/libavformat/raw.c
index e3d460fafb..e03fad5e1e 100644
--- a/libavformat/raw.c
+++ b/libavformat/raw.c
@@ -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;
}