summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2007-09-20 12:32:39 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2007-09-20 12:32:39 +0000
commitb2abd6767102a3dfcb8ca47986fae2ad55f8c9bd (patch)
tree933235b3307b1a8ce3dde3a09225794f4bc8a266
parent1ddef375df58c96327ec05f386f544d2c98007cf (diff)
downloadrockbox-b2abd6767102a3dfcb8ca47986fae2ad55f8c9bd.tar.gz
rockbox-b2abd6767102a3dfcb8ca47986fae2ad55f8c9bd.zip
remove unused struct member and variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14777 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libwma/wmadec.h1
-rw-r--r--apps/codecs/libwma/wmadeci.c4
2 files changed, 0 insertions, 5 deletions
diff --git a/apps/codecs/libwma/wmadec.h b/apps/codecs/libwma/wmadec.h
index 95eb31956a..1d5a67d8a9 100644
--- a/apps/codecs/libwma/wmadec.h
+++ b/apps/codecs/libwma/wmadec.h
@@ -140,7 +140,6 @@ typedef struct WMADecodeContext
140 fixed32 (*coefs)[MAX_CHANNELS][BLOCK_MAX_SIZE]; 140 fixed32 (*coefs)[MAX_CHANNELS][BLOCK_MAX_SIZE];
141 MDCTContext mdct_ctx[BLOCK_NB_SIZES]; 141 MDCTContext mdct_ctx[BLOCK_NB_SIZES];
142 fixed32 *windows[BLOCK_NB_SIZES]; 142 fixed32 *windows[BLOCK_NB_SIZES];
143 FFTComplex *mdct_tmp; /* temporary storage for imdct */
144 /* output buffer for one frame and the last for IMDCT windowing */ 143 /* output buffer for one frame and the last for IMDCT windowing */
145 fixed32 frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE * 2]; 144 fixed32 frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE * 2];
146 /* last frame info */ 145 /* last frame info */
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c
index bc3c11f9f2..8523beafbf 100644
--- a/apps/codecs/libwma/wmadeci.c
+++ b/apps/codecs/libwma/wmadeci.c
@@ -61,9 +61,6 @@ uint16_t *runtabarray[2], *levtabarray[2];
61 61
62uint16_t runtab0[1336], runtab1[1336], levtab0[1336], levtab1[1336]; //these could be made smaller since only one can be 1336 62uint16_t runtab0[1336], runtab1[1336], levtab0[1336], levtab1[1336]; //these could be made smaller since only one can be 1336
63 63
64FFTComplex mdct_tmp[1] ; /* dummy var */
65
66
67/*putting these in IRAM actually makes PP slower*/ 64/*putting these in IRAM actually makes PP slower*/
68VLC_TYPE vlcbuf1[2550][2]; 65VLC_TYPE vlcbuf1[2550][2];
69VLC_TYPE vlcbuf2[2550][2]; 66VLC_TYPE vlcbuf2[2550][2];
@@ -512,7 +509,6 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
512 509
513 mdct_init_global(); 510 mdct_init_global();
514 511
515 s->mdct_tmp = mdct_tmp; /* temporary storage for imdct */
516 for(i = 0; i < s->nb_block_sizes; ++i) 512 for(i = 0; i < s->nb_block_sizes; ++i)
517 { 513 {
518 ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 1); 514 ff_mdct_init(&s->mdct_ctx[i], s->frame_len_bits - i + 1, 1);