From 85f29118917b729e565e4d955a394415884e832e Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 18 Jul 2025 15:17:02 -0300 Subject: [PATCH] avfilter/x86/vf_blackdetect: add missing preprocessor check Signed-off-by: James Almer --- libavfilter/x86/vf_blackdetect.asm | 2 ++ 1 file changed, 2 insertions(+) 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