summaryrefslogtreecommitdiff
path: root/libavcodec/mdct.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2008-08-12 00:36:36 +0000
committerLoren Merritt <lorenm@u.washington.edu>2008-08-12 00:36:36 +0000
commit0a570e826d7cb6602219236e20a15d85ab68b073 (patch)
tree6ac326a85a91f45414a4ccbf19f1c72cc757cf55 /libavcodec/mdct.c
parente8dd7b0c9a3d61a2a5be7e763e5bdde486cdfc29 (diff)
downloadffmpeg-0a570e826d7cb6602219236e20a15d85ab68b073.tar.gz
remove mdct tmp buffer
Originally committed as revision 14702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdct.c')
-rw-r--r--libavcodec/mdct.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c
index 069ad5b5d1..e8fd68228d 100644
--- a/libavcodec/mdct.c
+++ b/libavcodec/mdct.c
@@ -150,8 +150,7 @@ void ff_imdct_half(MDCTContext *s, FFTSample *output, const FFTSample *input)
* @param input N/2 samples
* @param tmp N/2 samples
*/
-void ff_imdct_calc(MDCTContext *s, FFTSample *output,
- const FFTSample *input, FFTSample *tmp)
+void ff_imdct_calc(MDCTContext *s, FFTSample *output, const FFTSample *input)
{
int k;
int n = 1 << s->nbits;
@@ -172,11 +171,10 @@ void ff_imdct_calc(MDCTContext *s, FFTSample *output,
* @param out N/2 samples
* @param tmp temporary storage of N/2 samples
*/
-void ff_mdct_calc(MDCTContext *s, FFTSample *out,
- const FFTSample *input, FFTSample *tmp)
+void ff_mdct_calc(MDCTContext *s, FFTSample *out, const FFTSample *input)
{
int i, j, n, n8, n4, n2, n3;
- FFTSample re, im, re1, im1;
+ FFTSample re, im;
const uint16_t *revtab = s->fft.revtab;
const FFTSample *tcos = s->tcos;
const FFTSample *tsin = s->tsin;