diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-19 15:14:17 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-03-19 19:49:18 +0000 |
commit | 26f548bb59177cfc8c45ff633dd37b60cfd23edf (patch) | |
tree | 1e2f6b7d04f8554c60eb4b562844f1cf21b64b9b /libavcodec/ac3dec.c | |
parent | ec10a9ab461b26b96eff7bbbb8623f42d8ee04ad (diff) | |
download | ffmpeg-26f548bb59177cfc8c45ff633dd37b60cfd23edf.tar.gz |
fft: remove inline wrappers for function pointers
This removes the rather pointless wrappers (one not even inline)
for calling the fft_calc and related function pointers.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r-- | libavcodec/ac3dec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 3fd9fc144b..fbc8dd1c54 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -628,13 +628,13 @@ static inline void do_imdct(AC3DecodeContext *s, int channels) float *x = s->tmp_output+128; for(i=0; i<128; i++) x[i] = s->transform_coeffs[ch][2*i]; - ff_imdct_half(&s->imdct_256, s->tmp_output, x); + s->imdct_256.imdct_half(&s->imdct_256, s->tmp_output, x); s->dsp.vector_fmul_window(s->output[ch-1], s->delay[ch-1], s->tmp_output, s->window, 128); for(i=0; i<128; i++) x[i] = s->transform_coeffs[ch][2*i+1]; - ff_imdct_half(&s->imdct_256, s->delay[ch-1], x); + s->imdct_256.imdct_half(&s->imdct_256, s->delay[ch-1], x); } else { - ff_imdct_half(&s->imdct_512, s->tmp_output, s->transform_coeffs[ch]); + s->imdct_512.imdct_half(&s->imdct_512, s->tmp_output, s->transform_coeffs[ch]); s->dsp.vector_fmul_window(s->output[ch-1], s->delay[ch-1], s->tmp_output, s->window, 128); memcpy(s->delay[ch-1], s->tmp_output+128, 128*sizeof(float)); } |