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
pull/126/head
Michael Niedermayer 19 years ago
parent f24a515931
commit faff3a7ad0
  1. 2
      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"

Loading…
Cancel
Save