aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-29 22:21:46 -0300
committerJames Almer <jamrial@gmail.com>2017-10-29 22:21:51 -0300
commit783535a4cd2657c08fb21e149da619262f8d9719 (patch)
tree94b12fa12c0e309e3152f72637122a3f6e98eca0
parent4776c61424fa32394e251e9769e1ad2c2fa55598 (diff)
downloadffmpeg-783535a4cd2657c08fb21e149da619262f8d9719.tar.gz
x86/bswapdsp: add missing preprocessor wrappers for AVX2 functions
Fixes build with old nasm/yasm. Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/x86/bswapdsp.asm2
1 files changed, 2 insertions, 0 deletions
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