From ea5423a01716f073d3a3af678742a572b18cb936 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 2 Dec 2014 11:36:48 +0100 Subject: [PATCH] lavc/dirac_arith: Only compile x86 asm if ARCH_X86 is set. Fixes ticket #3544. --- 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 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;