summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs/libwma
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2012-05-01 02:01:06 -0400
committerMichael Giacomelli <giac2000@hotmail.com>2012-05-01 02:01:06 -0400
commit0dd200b33a624131190b0cffffb00a1cf4f7fd41 (patch)
tree7420ec0ea4bf8978e43073b86fb47dd65f79294f /lib/rbcodec/codecs/libwma
parentb4eec0dd420aa6982dcdcce794bcaa4a6dac8ef5 (diff)
downloadrockbox-0dd200b33a624131190b0cffffb00a1cf4f7fd41.tar.gz
rockbox-0dd200b33a624131190b0cffffb00a1cf4f7fd41.tar.bz2
rockbox-0dd200b33a624131190b0cffffb00a1cf4f7fd41.zip
Fix audio corruption when sequentially playing low bitrate WMA files
for real this time. Also, use English grammar. Change-Id: I1f2156afa313280deb02b58a191511699671a761
Diffstat (limited to 'lib/rbcodec/codecs/libwma')
-rwxr-xr-xlib/rbcodec/codecs/libwma/wmadeci.c2
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)
s->noise_mult = 0x51f;
/*unlikely, but we may have previoiusly used this table for LSP,
so halve the values if needed*/
- if(noisetable_exp[0] == 0x10) {
+ if(noisetable_exp[0] == 0x0a) {
for (i=0;i<NOISE_TAB_SIZE;++i)
noisetable_exp[i] >>= 1;
}