Mercurial > libavcodec.hg
changeset 785:18b3fd684767 libavcodec
fixed block size selection
author | bellard |
---|---|
date | Mon, 28 Oct 2002 01:42:05 +0000 |
parents | 32636728f24b |
children | 62faac9a4c3d |
files | wmadec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/wmadec.c Mon Oct 28 00:51:48 2002 +0000 +++ b/wmadec.c Mon Oct 28 01:42:05 2002 +0000 @@ -270,7 +270,7 @@ /* 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;