aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-02-01 10:47:53 -0300
committerJames Almer <jamrial@gmail.com>2024-02-01 10:47:53 -0300
commit2dc8221e665a3874361fd4d9494a306fb09a9afd (patch)
tree16860de9d3eeac4304106e9e5dcaeb2bf8406877 /libavcodec
parent0042cf89809b22938dea2d39ccd4ec463c20253a (diff)
downloadffmpeg-2dc8221e665a3874361fd4d9494a306fb09a9afd.tar.gz
x86/hevcdsp_init.c: fix preprocessor check
HAVE_AVX2_EXTERNAL has a value, so check for it. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/hevcdsp_init.c2
1 files changed, 1 insertions, 1 deletions
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);