From 91ff4e83ca7f8cb64540ef2eb2c7e48b7e2cc8f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 13 Sep 2012 11:18:25 +0300 Subject: [PATCH] x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes building without inline assembly. Signed-off-by: Martin Storsjö --- libavcodec/x86/ac3dsp_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/ac3dsp_init.c b/libavcodec/x86/ac3dsp_init.c index b23a9a1aeb..5008d65676 100644 --- a/libavcodec/x86/ac3dsp_init.c +++ b/libavcodec/x86/ac3dsp_init.c @@ -205,7 +205,9 @@ av_cold void ff_ac3dsp_init_x86(AC3DSPContext *c, int bit_exact) } } +#if HAVE_SSE_INLINE if (INLINE_SSE(mm_flags)) { c->downmix = ac3_downmix_sse; } +#endif }