Module: libav
Branch: master
Commit: e5b7d7773a07dd80909402939b8f6812cfded903

Author:    Reimar Döffinger <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Sat Apr 28 12:51:06 2012 +0200

Fix compilation with YASM/NASM without AVX support.

Signed-off-by: Reimar Döffinger <[email protected]>
Signed-off-by: Justin Ruggles <[email protected]>

---

 libavresample/x86/audio_mix.asm |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavresample/x86/audio_mix.asm b/libavresample/x86/audio_mix.asm
index ef30f02..dbc79e5 100644
--- a/libavresample/x86/audio_mix.asm
+++ b/libavresample/x86/audio_mix.asm
@@ -60,5 +60,7 @@ cglobal mix_2_to_1_fltp_flt, 3,4,6, src, matrix, len, src1
 
 INIT_XMM sse
 MIX_2_TO_1_FLTP_FLT
+%if HAVE_AVX
 INIT_YMM avx
 MIX_2_TO_1_FLTP_FLT
+%endif

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

Reply via email to