[FFmpeg-cvslog] dirac_arith: Fix unprotected inline asm

Derek Buitenhuis git at videolan.org
Mon Sep 17 21:01:10 CEST 2012


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Sun Sep 16 19:46:02 2012 -0400| [5c95a93411c46a2d89b86178ec9abbea18f3eb57] | committer: Derek Buitenhuis

dirac_arith: Fix unprotected inline asm

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5c95a93411c46a2d89b86178ec9abbea18f3eb57
---

 libavcodec/dirac_arith.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dirac_arith.h b/libavcodec/dirac_arith.h
index b605825..f9a8bba 100644
--- a/libavcodec/dirac_arith.h
+++ b/libavcodec/dirac_arith.h
@@ -134,7 +134,7 @@ static inline int dirac_get_arith_bit(DiracArith *c, int ctx)
 
     range_times_prob = (c->range * prob_zero) >> 16;
 
-#if HAVE_FAST_CMOV
+#if HAVE_FAST_CMOV && HAVE_INLINE_ASM
     low   -= range_times_prob << 16;
     range -= range_times_prob;
     bit = 0;



More information about the ffmpeg-cvslog mailing list