[libav-commits] x86: vp56: cmov version of vp56_rac_get_prob requires inline asm

Hendrik Leppkes git at libav.org
Wed Sep 5 21:33:52 CEST 2012


Module: libav
Branch: master
Commit: d914ea6fd87dade00aade52db4407a2656df7a79

Author:    Hendrik Leppkes <h.leppkes at gmail.com>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Wed Sep  5 19:43:18 2012 +0200

x86: vp56: cmov version of vp56_rac_get_prob requires inline asm

Signed-off-by: Diego Biurrun <diego at biurrun.de>

---

 libavcodec/x86/vp56_arith.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/x86/vp56_arith.h b/libavcodec/x86/vp56_arith.h
index be2dd30..0a69368 100644
--- a/libavcodec/x86/vp56_arith.h
+++ b/libavcodec/x86/vp56_arith.h
@@ -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)
 {



More information about the libav-commits mailing list