[FFmpeg-cvslog] x86/bswapdsp: add missing preprocessor wrappers for AVX2 functions

James Almer git at videolan.org
Mon Oct 30 03:22:19 EET 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Oct 29 22:21:46 2017 -0300| [783535a4cd2657c08fb21e149da619262f8d9719] | committer: James Almer

x86/bswapdsp: add missing preprocessor wrappers for AVX2 functions

Fixes build with old nasm/yasm.

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

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

 libavcodec/x86/bswapdsp.asm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/x86/bswapdsp.asm b/libavcodec/x86/bswapdsp.asm
index 219d172481..213ffbde07 100644
--- a/libavcodec/x86/bswapdsp.asm
+++ b/libavcodec/x86/bswapdsp.asm
@@ -157,5 +157,7 @@ BSWAP32_BUF
 INIT_XMM ssse3
 BSWAP32_BUF
 
+%if HAVE_AVX2_EXTERNAL
 INIT_YMM avx2
 BSWAP32_BUF
+%endif



More information about the ffmpeg-cvslog mailing list