summaryrefslogtreecommitdiff
path: root/libavcodec/dirac_arith.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/dirac_arith.h')
-rw-r--r--libavcodec/dirac_arith.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dirac_arith.h b/libavcodec/dirac_arith.h
index a1fa96b5bc..003430a48d 100644
--- a/libavcodec/dirac_arith.h
+++ b/libavcodec/dirac_arith.h
@@ -135,7 +135,7 @@ static inline int dirac_get_arith_bit(DiracArith *c, int ctx)
range_times_prob = (c->range * prob_zero) >> 16;
-#if HAVE_FAST_CMOV && HAVE_INLINE_ASM && HAVE_6REGS
+#if ARCH_X86 && HAVE_FAST_CMOV && HAVE_INLINE_ASM && HAVE_6REGS
low -= range_times_prob << 16;
range -= range_times_prob;
bit = 0;