diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-10-28 01:42:05 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-10-28 01:42:05 +0000 |
commit | 64c133898a39bee2a96227d48ca42d1eb554a153 (patch) | |
tree | 61be39b96176cfb13c639170a92fc7d83b1d436d /libavcodec | |
parent | e095026ab4845e97c61dbf3c3bda149f9195398d (diff) | |
download | ffmpeg-64c133898a39bee2a96227d48ca42d1eb554a153.tar.gz |
fixed block size selection
Originally committed as revision 1093 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c index da8707f07b..0eef66c6bd 100644 --- 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; |