[FFmpeg-cvslog] x86/hevcdsp_init.c: fix preprocessor check

James Almer git at videolan.org
Thu Feb 1 15:47:49 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Feb  1 10:47:53 2024 -0300| [2dc8221e665a3874361fd4d9494a306fb09a9afd] | committer: James Almer

x86/hevcdsp_init.c: fix preprocessor check

HAVE_AVX2_EXTERNAL has a value, so check for it.

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/x86/hevcdsp_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c
index e0dc82eef0..31e81eb11f 100644
--- a/libavcodec/x86/hevcdsp_init.c
+++ b/libavcodec/x86/hevcdsp_init.c
@@ -170,7 +170,7 @@ FW_QPEL_FUNCS(8,  10, sse4);
 FW_QPEL_FUNCS(4,  12, sse4);
 FW_QPEL_FUNCS(8,  12, sse4);
 
-#ifdef HAVE_AVX2_EXTERNAL
+#if HAVE_AVX2_EXTERNAL
 
 FW_PEL(32,  8, avx2);
 FW_PUT(pel, pel_pixels16, pixels16, 10, avx2);



More information about the ffmpeg-cvslog mailing list