x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared
authorMartin Storsjö <martin@martin.st>
Thu, 13 Sep 2012 08:18:25 +0000 (11:18 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 13 Sep 2012 10:51:52 +0000 (13:51 +0300)
This fixes building without inline assembly.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/x86/ac3dsp_init.c

index b23a9a1..5008d65 100644 (file)
@@ -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
 }