From faff3a7ad00749ac5df7daec981d448344b10ac3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 15 Oct 2006 20:50:05 +0000 Subject: this code will not work with PIC as it needs 7 registers and gcc doesnt support that in PIC Originally committed as revision 6703 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cabac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cabac.h') diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index dc114b406f..b17667cd5a 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -362,7 +362,7 @@ static inline void renorm_cabac_decoder_once(CABACContext *c){ static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state){ //FIXME gcc generates duplicate load/stores for c->low and c->range -#ifdef ARCH_X86 +#if defined(ARCH_X86) && !defined(PIC) int bit; #define LOW "0" -- cgit v1.2.3