From f2d702e109666ea098077c0037c0860b389a1a30 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Fri, 21 Aug 2009 09:54:28 +0000 Subject: 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 --- libavcodec/cabac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cabac.h') 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" -- cgit v1.2.3