diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-21 09:54:28 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-08-21 09:54:28 +0000 |
commit | f2d702e109666ea098077c0037c0860b389a1a30 (patch) | |
tree | 97891f2ba16fca25b319a693bdef70d5eef9a503 /libavcodec/cabac.h | |
parent | da47f0eecbdcd3da9ead478b7589cb7e331cafb4 (diff) | |
download | ffmpeg-f2d702e109666ea098077c0037c0860b389a1a30.tar.gz |
Replace #ifdef PIC checks with the more appropriate HAVE_EBX_AVAILABLE/HAVE_7REGS.
Originally committed as revision 19676 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cabac.h')
-rw-r--r-- | libavcodec/cabac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index ea4ac54a23..2794626c35 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -637,7 +637,7 @@ static int av_unused get_cabac_bypass(CABACContext *c){ static av_always_inline int get_cabac_bypass_sign(CABACContext *c, int val){ -#if ARCH_X86 && !(defined(PIC) && defined(__GNUC__)) +#if ARCH_X86 && HAVE_EBX_AVAILABLE __asm__ volatile( "movl "RANGE "(%1), %%ebx \n\t" "movl "LOW "(%1), %%eax \n\t" |