From 750f378becf15c0552c45a66a66aca7cc506d490 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 23 Sep 2022 15:15:20 -0300 Subject: [PATCH] x86/tx_float: add missing preprocessor wrapper for AVX2 functions Fixes compilation with old assemblers. Signed-off-by: James Almer --- libavutil/x86/tx_float.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm index c3b1375bc4..fd934e9eac 100644 --- a/libavutil/x86/tx_float.asm +++ b/libavutil/x86/tx_float.asm @@ -1843,7 +1843,7 @@ cglobal fft_pfa_15xM_ns_float, 4, 14, 16, 320, ctx, out, in, stride, len, lut, b %endif %endmacro -%if ARCH_X86_64 +%if ARCH_X86_64 && HAVE_AVX2_EXTERNAL PFA_15_FN avx2, 0 PFA_15_FN avx2, 1 %endif