From 5c95a93411c46a2d89b86178ec9abbea18f3eb57 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Sun, 16 Sep 2012 19:46:02 -0400 Subject: [PATCH] dirac_arith: Fix unprotected inline asm Signed-off-by: Derek Buitenhuis --- 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 b605825027..f9a8bba5fd 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;