From f2a1d92030a3dab73cd36b735d5e1b374943a57b Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 17 Jul 2010 08:49:21 +0000 Subject: Remove unused 2kB buffer and some dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27458 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwma/wmadec.h | 1 - apps/codecs/libwma/wmadeci.c | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'apps') diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h index 889d7dbba1..585e4b0aef 100644 --- a/apps/codecs/libwma/wmadec.h +++ b/apps/codecs/libwma/wmadec.h @@ -147,7 +147,6 @@ typedef struct WMADecodeContext fixed32 noise_mult; /* XXX: suppress that and integrate it in the noise array */ /* lsp_to_curve tables */ fixed32 lsp_cos_table[BLOCK_MAX_SIZE]; - fixed64 lsp_pow_e_table[256]; fixed32 lsp_pow_m_table1[(1 << LSP_POW_BITS)]; fixed32 lsp_pow_m_table2[(1 << LSP_POW_BITS)]; diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c index cf95f9c2fa..d81b93ffe3 100644 --- a/apps/codecs/libwma/wmadeci.c +++ b/apps/codecs/libwma/wmadeci.c @@ -170,7 +170,7 @@ static void init_coef_vlc(VLC *vlc, int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx) { - int i, flags1, flags2; + int i, flags2; fixed32 *window; uint8_t *extradata; fixed64 bps1; @@ -206,15 +206,11 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx) } /* extract flag infos */ - flags1 = 0; flags2 = 0; extradata = wfx->data; if (s->version == 1 && wfx->datalen >= 4) { - flags1 = extradata[0] | (extradata[1] << 8); flags2 = extradata[2] | (extradata[3] << 8); }else if (s->version == 2 && wfx->datalen >= 6){ - flags1 = extradata[0] | (extradata[1] << 8) | - (extradata[2] << 16) | (extradata[3] << 24); flags2 = extradata[4] | (extradata[5] << 8); } s->use_exp_vlc = flags2 & 0x0001; -- cgit v1.2.3