Commit ea5423a0 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

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

Fixes ticket #3544.
parent 42801505
...@@ -135,7 +135,7 @@ static inline int dirac_get_arith_bit(DiracArith *c, int ctx) ...@@ -135,7 +135,7 @@ static inline int dirac_get_arith_bit(DiracArith *c, int ctx)
range_times_prob = (c->range * prob_zero) >> 16; 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; low -= range_times_prob << 16;
range -= range_times_prob; range -= range_times_prob;
bit = 0; bit = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment