summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-15 20:50:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-15 20:50:05 +0000
commitfaff3a7ad00749ac5df7daec981d448344b10ac3 (patch)
tree448e6e1533cfa75eff1b5c5e9255a9410a85e7a7 /libavcodec/cabac.h
parentf24a51593145dd471ce5bdbb0694caae1fbead61 (diff)
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
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r--libavcodec/cabac.h2
1 files changed, 1 insertions, 1 deletions
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"