Module: libav
Branch: master
Commit: eafb05fcf37cd19a910ca3b17824384f9006bc0a

Author:    Luca Barbato <[email protected]>
Committer: Luca Barbato <[email protected]>
Date:      Sun Jan 24 16:58:19 2016 +0100

v210: x86: Add the correct guards around the asm code

Signed-off-by: Luca Barbato <[email protected]>

---

 libavcodec/x86/v210enc.asm |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavcodec/x86/v210enc.asm b/libavcodec/x86/v210enc.asm
index 595c890..bdefcdb 100644
--- a/libavcodec/x86/v210enc.asm
+++ b/libavcodec/x86/v210enc.asm
@@ -82,8 +82,10 @@ cglobal v210_planar_pack_10, 5, 5, 4, y, u, v, dst, width
     RET
 %endmacro
 
+%if HAVE_SSSE3_EXTERNAL
 INIT_XMM ssse3
 v210_planar_pack_10
+%endif
 
 %macro v210_planar_pack_8 0
 
@@ -139,7 +141,11 @@ cglobal v210_planar_pack_8, 5, 5, 7, y, u, v, dst, width
     RET
 %endmacro
 
+%if HAVE_SSSE3_EXTERNAL
 INIT_XMM ssse3
 v210_planar_pack_8
+%endif
+%if HAVE_AVX_EXTERNAL
 INIT_XMM avx
 v210_planar_pack_8
+%endif

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to