]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/x86/output.asm
swscale/x86/output: add missing AVX2 support preprocessor wrappers
[ffmpeg] / libswscale / x86 / output.asm
index 7f82665e1b0804bce6923a56f14a03af95cb502a..52cf9f2c2ebd7c040565c2e61333b3895edf684d 100644 (file)
@@ -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