changeset 4025:76ca770d2f6b libavcodec

this code will not work with PIC as it needs 7 registers and gcc doesnt support that in PIC
author michael
date Sun, 15 Oct 2006 20:50:05 +0000
parents d550343b5dac
children 2e7133456c56
files cabac.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Sun Oct 15 20:40:50 2006 +0000
+++ b/cabac.h	Sun Oct 15 20:50:05 2006 +0000
@@ -362,7 +362,7 @@
 
 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"