x86/hevcdsp: add missing guards to ff_hevc_sao_band_filter_avx2
authorJames Almer <jamrial@gmail.com>
Mon, 2 Feb 2015 00:44:13 +0000 (21:44 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 2 Feb 2015 00:45:52 +0000 (21:45 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/x86/hevc_sao.asm

index 4c11730..0585529 100644 (file)
@@ -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