[FFmpeg-cvslog] Fix compilation with YASM/NASM without AVX support.

Reimar Döffinger git at videolan.org
Sat Apr 28 13:02:30 CEST 2012


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Apr 28 12:51:06 2012 +0200| [9d4a1aca883965cfc2bbc5a6f9c9d8f4b93f9d74] | committer: Reimar Döffinger

Fix compilation with YASM/NASM without AVX support.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d4a1aca883965cfc2bbc5a6f9c9d8f4b93f9d74
---

 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



More information about the ffmpeg-cvslog mailing list