Commit 91ff4e83 authored by Martin Storsjö's avatar Martin Storsjö

x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared

This fixes building without inline assembly.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent b9141aa3
...@@ -205,7 +205,9 @@ av_cold void ff_ac3dsp_init_x86(AC3DSPContext *c, int bit_exact) ...@@ -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)) { if (INLINE_SSE(mm_flags)) {
c->downmix = ac3_downmix_sse; c->downmix = ac3_downmix_sse;
} }
#endif
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment