[FFmpeg-cvslog] x86/tx_float: add missing check for AVX2

James Almer git at videolan.org
Tue Sep 6 20:08:14 EEST 2022


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Sep  6 14:06:33 2022 -0300| [f4097e4c1f1bb244cae78c363a69d5e84495b616] | committer: James Almer

x86/tx_float: add missing check for AVX2

Fixes compilation with old yasm.

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

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

 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 6d33ee7f30..dbb04e8b4d 100644
--- a/libavutil/x86/tx_float.asm
+++ b/libavutil/x86/tx_float.asm
@@ -1537,6 +1537,6 @@ cglobal mdct_sr_inv_float, 4, 12, 16, 288, ctx, out, in, stride, len, lut, exp,
     RET
 %endmacro
 
-%if ARCH_X86_64
+%if ARCH_X86_64 && HAVE_AVX2_EXTERNAL
 IMDCT_FN avx2
 %endif



More information about the ffmpeg-cvslog mailing list