From 71e2cb4706c997171856cb9c43db98eba3f8f7eb Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 1 Feb 2015 21:44:13 -0300 Subject: [PATCH] x86/hevcdsp: add missing guards to ff_hevc_sao_band_filter_avx2 Signed-off-by: James Almer --- libavcodec/x86/hevc_sao.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/hevc_sao.asm b/libavcodec/x86/hevc_sao.asm index 4c11730282..05855290f5 100644 --- a/libavcodec/x86/hevc_sao.asm +++ b/libavcodec/x86/hevc_sao.asm @@ -209,6 +209,7 @@ HEVC_SAO_BAND_FILTER_FUNCS INIT_XMM avx HEVC_SAO_BAND_FILTER_FUNCS +%if HAVE_AVX2_EXTERNAL INIT_XMM avx2 HEVC_SAO_BAND_FILTER_8 8, 0 HEVC_SAO_BAND_FILTER_8 16, 1 @@ -236,3 +237,4 @@ HEVC_SAO_BAND_FILTER_16 12, 48, 1 INIT_YMM avx2 HEVC_SAO_BAND_FILTER_16 12, 64, 2 %endif +%endif