x86/bswapdsp: add missing preprocessor wrappers for AVX2 functions
authorJames Almer <jamrial@gmail.com>
Mon, 30 Oct 2017 01:21:46 +0000 (22:21 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 30 Oct 2017 01:21:51 +0000 (22:21 -0300)
Fixes build with old nasm/yasm.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/x86/bswapdsp.asm

index 219d172..213ffbd 100644 (file)
@@ -157,5 +157,7 @@ BSWAP32_BUF
 INIT_XMM ssse3
 BSWAP32_BUF
 
+%if HAVE_AVX2_EXTERNAL
 INIT_YMM avx2
 BSWAP32_BUF
+%endif