OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6377de6
)
Slighty tweak mp3 probe threshold to prevent probetest from complaining.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 14 Sep 2009 23:03:33 +0000
(23:03 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 14 Sep 2009 23:03:33 +0000
(23:03 +0000)
Originally committed as revision 19849 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mp3.c
patch
|
blob
|
history
diff --git
a/libavformat/mp3.c
b/libavformat/mp3.c
index
c80b5d4
..
93d4be0
100644
(file)
--- a/
libavformat/mp3.c
+++ b/
libavformat/mp3.c
@@
-60,7
+60,7
@@
static int mp3_read_probe(AVProbeData *p)
if(buf == buf0)
first_frames= frames;
}
- if (first_frames>=
3
) return AVPROBE_SCORE_MAX/2+1;
+ if (first_frames>=
4
) return AVPROBE_SCORE_MAX/2+1;
else if(max_frames>500)return AVPROBE_SCORE_MAX/2;
else if(max_frames>=4) return AVPROBE_SCORE_MAX/4;
else if(buf0!=p->buf) return AVPROBE_SCORE_MAX/4-1;