Commit c3d5e290 authored by Felipe Contreras's avatar Felipe Contreras Committed by Mans Rullgard

ARM: fix build with FFT enabled and MDCT disabled

Signed-off-by: 's avatarFelipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent 59297ad6
...@@ -42,10 +42,12 @@ av_cold void ff_fft_init_arm(FFTContext *s) ...@@ -42,10 +42,12 @@ av_cold void ff_fft_init_arm(FFTContext *s)
if (HAVE_NEON) { if (HAVE_NEON) {
s->fft_permute = ff_fft_permute_neon; s->fft_permute = ff_fft_permute_neon;
s->fft_calc = ff_fft_calc_neon; s->fft_calc = ff_fft_calc_neon;
#if CONFIG_MDCT
s->imdct_calc = ff_imdct_calc_neon; s->imdct_calc = ff_imdct_calc_neon;
s->imdct_half = ff_imdct_half_neon; s->imdct_half = ff_imdct_half_neon;
s->mdct_calc = ff_mdct_calc_neon; s->mdct_calc = ff_mdct_calc_neon;
s->mdct_permutation = FF_MDCT_PERM_INTERLEAVE; s->mdct_permutation = FF_MDCT_PERM_INTERLEAVE;
#endif
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment