diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:36:36 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:36:36 +0000 |
commit | 0a570e826d7cb6602219236e20a15d85ab68b073 (patch) | |
tree | 6ac326a85a91f45414a4ccbf19f1c72cc757cf55 /libavcodec/nellymoserdec.c | |
parent | e8dd7b0c9a3d61a2a5be7e763e5bdde486cdfc29 (diff) | |
download | ffmpeg-0a570e826d7cb6602219236e20a15d85ab68b073.tar.gz |
remove mdct tmp buffer
Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/nellymoserdec.c')
-rw-r--r-- | libavcodec/nellymoserdec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index a4c74ea676..8374a6885f 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -50,7 +50,6 @@ typedef struct NellyMoserDecodeContext { float scale_bias; DSPContext dsp; MDCTContext imdct_ctx; - DECLARE_ALIGNED_16(float,imdct_tmp[NELLY_BUF_LEN]); DECLARE_ALIGNED_16(float,imdct_out[NELLY_BUF_LEN * 2]); } NellyMoserDecodeContext; @@ -120,8 +119,7 @@ static void nelly_decode_block(NellyMoserDecodeContext *s, memset(&aptr[NELLY_FILL_LEN], 0, (NELLY_BUF_LEN - NELLY_FILL_LEN) * sizeof(float)); - s->imdct_ctx.fft.imdct_calc(&s->imdct_ctx, s->imdct_out, - aptr, s->imdct_tmp); + s->imdct_ctx.fft.imdct_calc(&s->imdct_ctx, s->imdct_out, aptr); /* XXX: overlapping and windowing should be part of a more generic imdct function */ overlap_and_window(s, s->state, aptr, s->imdct_out); |