Mercurial > libavcodec.hg
diff nellymoserdec.c @ 7546:97383e012cb9 libavcodec
remove mdct tmp buffer
author | lorenm |
---|---|
date | Tue, 12 Aug 2008 00:36:36 +0000 |
parents | 85ab7655ad4d |
children | 8226017a65ae |
line wrap: on
line diff
--- a/nellymoserdec.c Tue Aug 12 00:34:08 2008 +0000 +++ b/nellymoserdec.c Tue Aug 12 00:36:36 2008 +0000 @@ -50,7 +50,6 @@ 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 @@ 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);