diff options
author | James Almer <jamrial@gmail.com> | 2016-11-18 16:58:35 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-11-18 17:01:11 -0300 |
commit | 2de1c79b61b66672a53b1bb42fdbb7aaa5854111 (patch) | |
tree | 8facbf5d325523b02cbc0d2eef738171a3c97bf2 | |
parent | 825f6fbfac6cd98c1a865fa5a890599f8934f2e7 (diff) | |
download | ffmpeg-2de1c79b61b66672a53b1bb42fdbb7aaa5854111.tar.gz |
x86/vp9itxfm: add missing AVX2 guards
Fixes compilation with Yasm 1.1.0 and older.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/x86/vp9itxfm.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/vp9itxfm.asm b/libavcodec/x86/vp9itxfm.asm index 21d572ea25..2c63fe514a 100644 --- a/libavcodec/x86/vp9itxfm.asm +++ b/libavcodec/x86/vp9itxfm.asm @@ -2092,7 +2092,7 @@ IADST16_FN iadst, IADST16, iadst, IADST16, avx SWAP 5, 9, 15 %endmacro -%if ARCH_X86_64 +%if ARCH_X86_64 && HAVE_AVX2_EXTERNAL %macro IADST16_YMM_FN 4 INIT_YMM avx2 cglobal vp9_%1_%3_16x16_add, 4, 4, 16, dst, stride, block, eob |