From 24b20087bd1ff86c26490928e30bad4f6b70f356 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 7 Dec 2012 00:26:45 +0100 Subject: [PATCH] Fix compilation with yasm 0.6.2. --- libavfilter/x86/af_volume.asm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/x86/af_volume.asm b/libavfilter/x86/af_volume.asm index dc54f6ee4a..f4cbcbc5de 100644 --- a/libavfilter/x86/af_volume.asm +++ b/libavfilter/x86/af_volume.asm @@ -99,9 +99,11 @@ cglobal scale_samples_s32, 4,4,4, dst, src, len, volume INIT_XMM sse2 %define CVTDQ2PD cvtdq2pd SCALE_SAMPLES_S32 +%if HAVE_AVX_EXTERNAL %define CVTDQ2PD vcvtdq2pd INIT_YMM avx SCALE_SAMPLES_S32 +%endif %undef CVTDQ2PD ; NOTE: This is not bit-identical with the C version because it clips to