diff ac3dec.c @ 7546:97383e012cb9 libavcodec

remove mdct tmp buffer
author lorenm
date Tue, 12 Aug 2008 00:36:36 +0000
parents 0dbdc638270e
children 8226017a65ae
line wrap: on
line diff
--- a/ac3dec.c	Tue Aug 12 00:34:08 2008 +0000
+++ b/ac3dec.c	Tue Aug 12 00:36:36 2008 +0000
@@ -605,7 +605,7 @@
         }
 
         /* run standard IMDCT */
-        s->imdct_256.fft.imdct_calc(&s->imdct_256, o_ptr, x, s->tmp_imdct);
+        s->imdct_256.fft.imdct_calc(&s->imdct_256, o_ptr, x);
 
         /* reverse the post-rotation & reordering from standard IMDCT */
         for(k=0; k<32; k++) {
@@ -643,7 +643,7 @@
             do_imdct_256(s, ch);
         } else {
             s->imdct_512.fft.imdct_calc(&s->imdct_512, s->tmp_output,
-                                        s->transform_coeffs[ch], s->tmp_imdct);
+                                        s->transform_coeffs[ch]);
         }
         /* For the first half of the block, apply the window, add the delay
            from the previous block, and send to output */