OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb96802
)
avformat/astdec: increase the score for odd samplerate/channels to max/8
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 10 Nov 2013 12:10:23 +0000
(13:10 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 10 Nov 2013 12:37:06 +0000
(13:37 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/astdec.c
patch
|
blob
|
history
diff --git
a/libavformat/astdec.c
b/libavformat/astdec.c
index
12252dc
..
3fa26dc
100644
(file)
--- a/
libavformat/astdec.c
+++ b/
libavformat/astdec.c
@@
-33,7
+33,7
@@
static int ast_probe(AVProbeData *p)
if (!AV_RB16(p->buf + 10) ||
!AV_RB16(p->buf + 12) || AV_RB16(p->buf + 12) > 256 ||
!AV_RB32(p->buf + 16) || AV_RB32(p->buf + 16) > 8*48000)
- return
1
;
+ return
AVPROBE_SCORE_MAX / 8
;
return AVPROBE_SCORE_MAX / 3 * 2;
}