diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-12-02 11:36:48 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-12-02 11:36:48 +0100 |
commit | ea5423a01716f073d3a3af678742a572b18cb936 (patch) | |
tree | d254c2ab3b62113444d96c3a0556ce39cf108e9d /libavcodec | |
parent | 42801505cd82caf9cc71d6a3ab933d9f4a983600 (diff) | |
download | ffmpeg-ea5423a01716f073d3a3af678742a572b18cb936.tar.gz |
lavc/dirac_arith: Only compile x86 asm if ARCH_X86 is set.
Fixes ticket #3544.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dirac_arith.h | 2 |
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; |