[Ffmpeg-cvslog] r6703 - trunk/libavcodec/cabac.h

michael subversion
Sun Oct 15 22:50:06 CEST 2006


Author: michael
Date: Sun Oct 15 22:50:05 2006
New Revision: 6703

Modified:
   trunk/libavcodec/cabac.h

Log:
this code will not work with PIC as it needs 7 registers and gcc doesnt support that in PIC


Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h	(original)
+++ trunk/libavcodec/cabac.h	Sun Oct 15 22:50:05 2006
@@ -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"




More information about the ffmpeg-cvslog mailing list