Module: libav Branch: master Commit: 91ff4e83ca7f8cb64540ef2eb2c7e48b7e2cc8f7
Author: Martin Storsjö <[email protected]> Committer: Martin Storsjö <[email protected]> Date: Thu Sep 13 11:18:25 2012 +0300 x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared This fixes building without inline assembly. Signed-off-by: Martin Storsjö <[email protected]> --- libavcodec/x86/ac3dsp_init.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libavcodec/x86/ac3dsp_init.c b/libavcodec/x86/ac3dsp_init.c index b23a9a1..5008d65 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 } _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
