diff --git a/libswscale/x86/output.asm b/libswscale/x86/output.asm index 7f82665e1b080..52cf9f2c2ebd7 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