diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:38:30 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2008-08-12 00:38:30 +0000 |
commit | d46ac5bfde98b57265de4aaf994e1690afa5d5b5 (patch) | |
tree | 483b38b640129a8c5e45f6d28a21e48de78155b4 /libavcodec/ac3dec.c | |
parent | 0a570e826d7cb6602219236e20a15d85ab68b073 (diff) | |
download | ffmpeg-d46ac5bfde98b57265de4aaf994e1690afa5d5b5.tar.gz |
mdct wrapper function to match fft
Originally committed as revision 14703 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index c77130d781..5b8810d586 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -605,7 +605,7 @@ static void do_imdct_256(AC3DecodeContext *s, int chindex) } /* 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 @@ static inline void do_imdct(AC3DecodeContext *s, int channels) 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 */ |