ffmpeg | branch: master | James Almer <[email protected]> | Fri Jul 18 15:17:02 
2025 -0300| [85f29118917b729e565e4d955a394415884e832e] | committer: James Almer

avfilter/x86/vf_blackdetect: add missing preprocessor check

Signed-off-by: James Almer <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=85f29118917b729e565e4d955a394415884e832e
---

 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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to