diff ac3dec.c @ 7547:8226017a65ae libavcodec

mdct wrapper function to match fft
author lorenm
date Tue, 12 Aug 2008 00:38:30 +0000
parents 97383e012cb9
children 60b5c1e5a7ee
line wrap: on
line diff
--- a/ac3dec.c	Tue Aug 12 00:36:36 2008 +0000
+++ b/ac3dec.c	Tue Aug 12 00:38:30 2008 +0000
@@ -605,7 +605,7 @@
         }
 
         /* run standard IMDCT */
-        s->imdct_256.fft.imdct_calc(&s->imdct_256, o_ptr, x);
+        ff_imdct_calc(&s->imdct_256, o_ptr, x);
 
         /* reverse the post-rotation & reordering from standard IMDCT */
         for(k=0; k<32; k++) {
@@ -642,8 +642,7 @@
         if (s->block_switch[ch]) {
             do_imdct_256(s, ch);
         } else {
-            s->imdct_512.fft.imdct_calc(&s->imdct_512, s->tmp_output,
-                                        s->transform_coeffs[ch]);
+            ff_imdct_calc(&s->imdct_512, s->tmp_output, 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 */