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

michael subversion
Mon Nov 27 11:56:10 CET 2006


Author: michael
Date: Mon Nov 27 11:56:10 2006
New Revision: 7173

Modified:
   trunk/libavcodec/cabac.h

Log:
PIC fix


Modified: trunk/libavcodec/cabac.h
==============================================================================
--- trunk/libavcodec/cabac.h	(original)
+++ trunk/libavcodec/cabac.h	Mon Nov 27 11:56:10 2006
@@ -632,7 +632,7 @@
 
 
 static always_inline int get_cabac_bypass_sign(CABACContext *c, int val){
-#ifdef ARCH_X86
+#if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
     asm volatile(
         "movl "RANGE    "(%1), %%ebx            \n\t"
         "movl "LOW      "(%1), %%eax            \n\t"




More information about the ffmpeg-cvslog mailing list