From 85372f9d5762112e9a98866cc3bfac3d7054a005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 3 Dec 2011 20:46:42 +0100 Subject: [PATCH] Add forgotten %ifdef HAVE_AVX. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes compilation with older YASM/NASM versions. Signed-off-by: Reimar Döffinger --- libavcodec/x86/dsputil_yasm.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/dsputil_yasm.asm b/libavcodec/x86/dsputil_yasm.asm index 64c87226a7..dcd6fa4223 100644 --- a/libavcodec/x86/dsputil_yasm.asm +++ b/libavcodec/x86/dsputil_yasm.asm @@ -1176,5 +1176,7 @@ cglobal butterflies_float_interleave, 4,4,3, dst, src0, src1, len INIT_XMM sse BUTTERFLIES_FLOAT_INTERLEAVE +%ifdef HAVE_AVX INIT_YMM avx BUTTERFLIES_FLOAT_INTERLEAVE +%endif