From 55c77e229e304bdbb06a1373a6dbc1e5c4ba64a4 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Thu, 28 Jul 2011 14:12:33 +0000 Subject: [PATCH] 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 --- apps/codecs/libwma/wmadeci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c index d63a7641c9..d7a836dd97 100644 --- a/apps/codecs/libwma/wmadeci.c +++ b/apps/codecs/libwma/wmadeci.c @@ -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<=0;i--)