summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/fft_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c
index 8825e39f79..e807f4b255 100644
--- a/libavcodec/fft_template.c
+++ b/libavcodec/fft_template.c
@@ -248,7 +248,7 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
#endif /* FFT_FIXED_32 */
- if (s->fft_permutation == FF_FFT_PERM_AVX) {
+ if (ARCH_X86 && FFT_FLOAT && s->fft_permutation == FF_FFT_PERM_AVX) {
fft_perm_avx(s);
} else {
#define PROCESS_FFT_PERM_SWAP_LSBS(num) do {\