Fix a bug introduced in r27463 that caused the line spectral pair look up tables to overwrite the noise coding VLC tables. Should fix decoding of files that have both noise coding and line spectral pairs, which are usually very low bitrate WMAs.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30220 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Giacomelli 2011-07-28 14:12:33 +00:00
parent 969903b5fe
commit 55c77e229e

View file

@ -621,7 +621,7 @@ static void wma_lsp_to_curve_init(WMADecodeContext *s, int frame_len)
int ix = 0;
s->lsp_pow_m_table1 = &vlcbuf3[0];
s->lsp_pow_m_table2 = &vlcbuf3[VLCBUF3SIZE];
s->lsp_pow_m_table2 = &vlcbuf3[1<<LSP_POW_BITS];
/*double check this later*/
for(i=(1 << LSP_POW_BITS) - 1;i>=0;i--)