summaryrefslogtreecommitdiffstats
path: root/libavcodec/fft_template.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-01-30 14:45:28 +0100
committerDiego Biurrun <diego@biurrun.de>2016-03-01 10:18:28 +0100
commit1a094af638281295bf087945923d258b5acd1ab1 (patch)
tree93ec951fe9d688564fcc32917f94b5077bb26d8f /libavcodec/fft_template.c
parent4d13bcceb9a1820f8e9b2c89e00816d3db41b716 (diff)
downloadffmpeg-streaming-1a094af638281295bf087945923d258b5acd1ab1.zip
ffmpeg-streaming-1a094af638281295bf087945923d258b5acd1ab1.tar.gz
fft: Split MDCT bits off from FFT
Diffstat (limited to 'libavcodec/fft_template.c')
-rw-r--r--libavcodec/fft_template.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c
index 808f317..3642b43 100644
--- a/libavcodec/fft_template.c
+++ b/libavcodec/fft_template.c
@@ -151,20 +151,13 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
s->fft_permute = fft_permute_c;
s->fft_calc = fft_calc_c;
-#if CONFIG_MDCT
- s->imdct_calc = ff_imdct_calc_c;
- s->imdct_half = ff_imdct_half_c;
- s->mdct_calc = ff_mdct_calc_c;
-#endif
#if FFT_FLOAT
if (ARCH_AARCH64) ff_fft_init_aarch64(s);
if (ARCH_ARM) ff_fft_init_arm(s);
if (ARCH_PPC) ff_fft_init_ppc(s);
if (ARCH_X86) ff_fft_init_x86(s);
- if (CONFIG_MDCT) s->mdct_calcw = s->mdct_calc;
#else
- if (CONFIG_MDCT) s->mdct_calcw = ff_mdct_calcw_c;
if (ARCH_ARM) ff_fft_fixed_init_arm(s);
#endif
OpenPOWER on IntegriCloud