diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2012-05-01 02:01:06 -0400 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2012-05-01 02:01:06 -0400 |
commit | 0dd200b33a624131190b0cffffb00a1cf4f7fd41 (patch) | |
tree | 7420ec0ea4bf8978e43073b86fb47dd65f79294f | |
parent | b4eec0dd420aa6982dcdcce794bcaa4a6dac8ef5 (diff) | |
download | rockbox-0dd200b33a624131190b0cffffb00a1cf4f7fd41.tar.gz rockbox-0dd200b33a624131190b0cffffb00a1cf4f7fd41.zip |
Fix audio corruption when sequentially playing low bitrate WMA files
for real this time. Also, use English grammar.
Change-Id: I1f2156afa313280deb02b58a191511699671a761
-rwxr-xr-x | lib/rbcodec/codecs/libwma/wmadeci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libwma/wmadeci.c b/lib/rbcodec/codecs/libwma/wmadeci.c index 69bdbeaca2..56779ca517 100755 --- a/lib/rbcodec/codecs/libwma/wmadeci.c +++ b/lib/rbcodec/codecs/libwma/wmadeci.c | |||
@@ -495,7 +495,7 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx) | |||
495 | s->noise_mult = 0x51f; | 495 | s->noise_mult = 0x51f; |
496 | /*unlikely, but we may have previoiusly used this table for LSP, | 496 | /*unlikely, but we may have previoiusly used this table for LSP, |
497 | so halve the values if needed*/ | 497 | so halve the values if needed*/ |
498 | if(noisetable_exp[0] == 0x10) { | 498 | if(noisetable_exp[0] == 0x0a) { |
499 | for (i=0;i<NOISE_TAB_SIZE;++i) | 499 | for (i=0;i<NOISE_TAB_SIZE;++i) |
500 | noisetable_exp[i] >>= 1; | 500 | noisetable_exp[i] >>= 1; |
501 | } | 501 | } |