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:
e095026
)
fixed block size selection
author
Fabrice Bellard
<fabrice@bellard.org>
Mon, 28 Oct 2002 01:42:05 +0000
(
01:42
+0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Mon, 28 Oct 2002 01:42:05 +0000
(
01:42
+0000)
Originally committed as revision 1093 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wmadec.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmadec.c
b/libavcodec/wmadec.c
index
da8707f
..
0eef66c
100644
(file)
--- a/
libavcodec/wmadec.c
+++ b/
libavcodec/wmadec.c
@@
-270,7
+270,7
@@
static int wma_decode_init(AVCodecContext * avctx)
/* compute MDCT block size */
if (s->sample_rate <= 16000) {
s->frame_len_bits = 9;
- } else if (s->sample_rate <= 32000) {
+ } else if (s->sample_rate <= 32000
&& s->version == 1
) {
s->frame_len_bits = 10;
} else {
s->frame_len_bits = 11;