diff options
author | James Almer <jamrial@gmail.com> | 2022-09-06 14:06:33 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-09-06 14:06:33 -0300 |
commit | f4097e4c1f1bb244cae78c363a69d5e84495b616 (patch) | |
tree | 34897e0110abcabfa6eee9f8f011b91a9a446a96 /libavutil/x86/tx_float.asm | |
parent | 74f5fb6db899dbc4fde9ccf77f37256ddcaaaab9 (diff) | |
download | ffmpeg-f4097e4c1f1bb244cae78c363a69d5e84495b616.tar.gz |
x86/tx_float: add missing check for AVX2
Fixes compilation with old yasm.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/x86/tx_float.asm')
-rw-r--r-- | libavutil/x86/tx_float.asm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |