Mercurial > libavcodec.hg
diff cabac.h @ 4241:92f773cfebf5 libavcodec
PIC fix
author | michael |
---|---|
date | Mon, 27 Nov 2006 10:56:10 +0000 |
parents | 4ce3923d5806 |
children | d6f83e2f8804 |
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"