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/libwma/wmadeci.c | |
parent | d6446d0b08c62c7258793603f4cc7c027b0043a1 (diff) |
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/libwma/wmadeci.c')
-rw-r--r-- | apps/codecs/libwma/wmadeci.c | 6 |
1 files changed, 1 insertions, 5 deletions
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; |