aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mdct.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-09-11 02:24:19 +0000
committerMåns Rullgård <mans@mansr.com>2009-09-11 02:24:19 +0000
commit46c32e2654ddeea14edf398a2d4225d46335dc90 (patch)
tree40a1fbef8d6c05bb9a8f0ba5767a3d1b81b83f32 /libavcodec/mdct.c
parent750f5034cf4d0dbe54aed917972f9c3f7a2cebbd (diff)
downloadffmpeg-46c32e2654ddeea14edf398a2d4225d46335dc90.tar.gz
Prepare for optimised forward MDCT implementations
This adds a function pointer for forward MDCT to FFTContext and initialises it with the existing C function. ff_calc_mdct() is changed to an inline function calling the selected version as done for other fft/mdct functions. Originally committed as revision 19818 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdct.c')
-rw-r--r--libavcodec/mdct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c
index 684e00d9ad..b6b9093e93 100644
--- a/libavcodec/mdct.c
+++ b/libavcodec/mdct.c
@@ -180,7 +180,7 @@ void ff_imdct_calc_c(MDCTContext *s, FFTSample *output, const FFTSample *input)
* @param input N samples
* @param out N/2 samples
*/
-void ff_mdct_calc(MDCTContext *s, FFTSample *out, const FFTSample *input)
+void ff_mdct_calc_c(MDCTContext *s, FFTSample *out, const FFTSample *input)
{
int i, j, n, n8, n4, n2, n3;
FFTSample re, im;