Mercurial > libavcodec.hg
diff cook.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/cook.c Tue Aug 12 00:34:08 2008 +0000 +++ b/cook.c Tue Aug 12 00:36:36 2008 +0000 @@ -112,7 +112,6 @@ /* transform data */ MDCTContext mdct_ctx; - DECLARE_ALIGNED_16(FFTSample, mdct_tmp[1024]); /* temporary storage for imlt */ float* mlt_window; /* gain buffers */ @@ -734,8 +733,7 @@ int i; /* Inverse modified discrete cosine transform */ - q->mdct_ctx.fft.imdct_calc(&q->mdct_ctx, q->mono_mdct_output, - inbuffer, q->mdct_tmp); + q->mdct_ctx.fft.imdct_calc(&q->mdct_ctx, q->mono_mdct_output, inbuffer); q->imlt_window (q, buffer1, gains_ptr, previous_buffer);