From 2de1c79b61b66672a53b1bb42fdbb7aaa5854111 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 18 Nov 2016 16:58:35 -0300 Subject: [PATCH] x86/vp9itxfm: add missing AVX2 guards Fixes compilation with Yasm 1.1.0 and older. Signed-off-by: James Almer --- libavcodec/x86/vp9itxfm.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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