changeset 4241:92f773cfebf5 libavcodec

PIC fix
author michael
date Mon, 27 Nov 2006 10:56:10 +0000
parents e880555ad2c6
children ed5c8287d756
files cabac.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cabac.h	Sun Nov 26 18:25:07 2006 +0000
+++ b/cabac.h	Mon Nov 27 10:56:10 2006 +0000
@@ -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"