diff options
-rw-r--r-- | apps/codecs/libwma/wmadec.h | 1 | ||||
-rw-r--r-- | apps/codecs/libwma/wmadeci.c | 4 |
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 | ||
62 | uint16_t runtab0[1336], runtab1[1336], levtab0[1336], levtab1[1336]; //these could be made smaller since only one can be 1336 | 62 | uint16_t runtab0[1336], runtab1[1336], levtab0[1336], levtab1[1336]; //these could be made smaller since only one can be 1336 |
63 | 63 | ||
64 | FFTComplex 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*/ |
68 | VLC_TYPE vlcbuf1[2550][2]; | 65 | VLC_TYPE vlcbuf1[2550][2]; |
69 | VLC_TYPE vlcbuf2[2550][2]; | 66 | VLC_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); |