[FFmpeg-cvslog] x86/tx_float: add missing preprocessor wrapper for AVX2 functions

James Almer git at videolan.org
Fri Sep 23 21:16:03 EEST 2022


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Sep 23 15:15:20 2022 -0300| [750f378becf15c0552c45a66a66aca7cc506d490] | committer: James Almer

x86/tx_float: add missing preprocessor wrapper for AVX2 functions

Fixes compilation with old assemblers.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=750f378becf15c0552c45a66a66aca7cc506d490
---

 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



More information about the ffmpeg-cvslog mailing list