diff options
author | James Almer <jamrial@gmail.com> | 2017-10-30 04:21:46 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-10-30 04:21:51 +0300 |
commit | 783535a4cd2657c08fb21e149da619262f8d9719 (patch) | |
tree | 94b12fa12c0e309e3152f72637122a3f6e98eca0 /libavcodec/x86 | |
parent | 4776c61424fa32394e251e9769e1ad2c2fa55598 (diff) |
x86/bswapdsp: add missing preprocessor wrappers for AVX2 functions
Fixes build with old nasm/yasm.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/bswapdsp.asm | 2 |
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 |