projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd2508
)
10l to me. Revert recent changes to ac3_probe() which made misdetection as AC3 too...
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sun, 5 Aug 2007 03:36:50 +0000
(
03:36
+0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sun, 5 Aug 2007 03:36:50 +0000
(
03:36
+0000)
Originally committed as revision 9931 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/raw.c
patch
|
blob
|
history
diff --git
a/libavformat/raw.c
b/libavformat/raw.c
index e3d460fafb4ab83eb9fa6c9c876739b2334ced91..e03fad5e1e7b115ff88283d2b932fd1fc4435ca8 100644
(file)
--- 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;
}