diff --git a/libavfilter/x86/vf_blackdetect.asm b/libavfilter/x86/vf_blackdetect.asm index 86251ceca5..a9d4778aee 100644 --- a/libavfilter/x86/vf_blackdetect.asm +++ b/libavfilter/x86/vf_blackdetect.asm @@ -68,6 +68,8 @@ cglobal blackdetect_%1, 5, 7, 2, src, stride, width, height, threshold RET %endmacro +%if HAVE_AVX2_EXTERNAL INIT_YMM avx2 count_pixels_fn 8 count_pixels_fn 16 +%endif