summaryrefslogtreecommitdiff
path: root/libavresample
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-04-28 12:51:06 +0200
committerJustin Ruggles <justin.ruggles@gmail.com>2012-05-01 13:37:25 -0400
commite5b7d7773a07dd80909402939b8f6812cfded903 (patch)
treeb1389237dc7ab4a934b1b5be5570b8097d4a2f8c /libavresample
parent035a394eac868928dded505fb5ca494350ad2e92 (diff)
downloadffmpeg-e5b7d7773a07dd80909402939b8f6812cfded903.tar.gz
Fix compilation with YASM/NASM without AVX support.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavresample')
-rw-r--r--libavresample/x86/audio_mix.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavresample/x86/audio_mix.asm b/libavresample/x86/audio_mix.asm
index ef30f02486..dbc79e585d 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