Browse Source

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ö <martin@martin.st>
tags/n1.0
Martin Storsjö 13 years ago
parent
commit
91ff4e83ca
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/x86/ac3dsp_init.c

+ 2
- 0
libavcodec/x86/ac3dsp_init.c View 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
}

Loading…
Cancel
Save