aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer2020-08-20 15:14:56 -0300
committerJames Almer2020-08-20 15:14:56 -0300
commit621e2625e0e37c41ea813f1113278a79f05f288a (patch)
tree509e227247faa801adb7e090bcdcacddc1afd01b
parent03c8fe49ea3f2a2444607e541dff15a1ccd7f0c2 (diff)
swscale/x86/output: add missing AVX2 support preprocessor wrappers
Fixes compilation with old yasm Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libswscale/x86/output.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/x86/output.asm b/libswscale/x86/output.asm
index 7f82665e1b..52cf9f2c2e 100644
--- a/libswscale/x86/output.asm
+++ b/libswscale/x86/output.asm
@@ -543,7 +543,9 @@ nv12_inner_%1:
RET
%endmacro
+%if HAVE_AVX2_EXTERNAL
INIT_YMM avx2
yuv2nv12cX_fn yuv2nv12
yuv2nv12cX_fn yuv2nv21
+%endif
%endif ; ARCH_X86_64