[FFmpeg-cvslog] swscale/x86/output: add missing AVX2 support preprocessor wrappers

James Almer git at videolan.org
Thu Aug 20 21:15:38 EEST 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Aug 20 15:14:56 2020 -0300| [621e2625e0e37c41ea813f1113278a79f05f288a] | committer: James Almer

swscale/x86/output: add missing AVX2 support preprocessor wrappers

Fixes compilation with old yasm

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

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

 libswscale/x86/output.asm | 2 ++
 1 file changed, 2 insertions(+)

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



More information about the ffmpeg-cvslog mailing list