diff options
| author | Nils Wallménius <nils@rockbox.org> | 2010-07-17 08:49:21 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2010-07-17 08:49:21 +0000 |
| commit | f2a1d92030a3dab73cd36b735d5e1b374943a57b (patch) | |
| tree | 67229cebdebf45f16bfdb45eca0dadeeb4ddba05 /apps/codecs | |
| parent | d6446d0b08c62c7258793603f4cc7c027b0043a1 (diff) | |
| download | rockbox-f2a1d92030a3dab73cd36b735d5e1b374943a57b.zip rockbox-f2a1d92030a3dab73cd36b735d5e1b374943a57b.tar.gz rockbox-f2a1d92030a3dab73cd36b735d5e1b374943a57b.tar.bz2 rockbox-f2a1d92030a3dab73cd36b735d5e1b374943a57b.tar.xz | |
Remove unused 2kB buffer and some dead code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27458 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
| -rw-r--r-- | apps/codecs/libwma/wmadec.h | 1 | ||||
| -rw-r--r-- | apps/codecs/libwma/wmadeci.c | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h index 889d7db..585e4b0 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 cf95f9c..d81b93f 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; |