OSDN Git Service

x86: vp56: cmov version of vp56_rac_get_prob requires inline asm
authorHendrik Leppkes <h.leppkes@gmail.com>
Wed, 5 Sep 2012 17:43:18 +0000 (19:43 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 5 Sep 2012 19:30:46 +0000 (21:30 +0200)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/x86/vp56_arith.h

index be2dd30..0a69368 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef AVCODEC_X86_VP56_ARITH_H
 #define AVCODEC_X86_VP56_ARITH_H
 
-#if HAVE_FAST_CMOV
+#if HAVE_INLINE_ASM && HAVE_FAST_CMOV
 #define vp56_rac_get_prob vp56_rac_get_prob
 static av_always_inline int vp56_rac_get_prob(VP56RangeCoder *c, uint8_t prob)
 {