Fix compilation with YASM/NASM without AVX support.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 28 Apr 2012 10:51:06 +0000 (12:51 +0200)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 1 May 2012 17:37:25 +0000 (13:37 -0400)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavresample/x86/audio_mix.asm

index ef30f02..dbc79e5 100644 (file)
@@ -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