lavc/dirac_arith: Only compile x86 asm if ARCH_X86 is set.

Fixes ticket #3544.
pull/100/head
Carl Eugen Hoyos 10 years ago
parent 42801505cd
commit ea5423a017
  1. 2
      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;

Loading…
Cancel
Save