Commit bc761bba authored by diego's avatar diego

Fix PIC compilation, some defines were under #ifdef !PIC but used

in the PIC case nevertheless.
patch by Bernhard Rosenkranzer, bero arklinux org


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6738 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c668d2f3
......@@ -363,14 +363,14 @@ static inline void renorm_cabac_decoder_once(CABACContext *c){
static int always_inline get_cabac_inline(CABACContext *c, uint8_t * const state){
//FIXME gcc generates duplicate load/stores for c->low and c->range
#if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
int bit;
#define LOW "0"
#define RANGE "4"
#define BYTESTART "12"
#define BYTE "16"
#define BYTEEND "20"
#if defined(ARCH_X86) && !(defined(PIC) && defined(__GNUC__))
int bit;
#ifndef BRANCHLESS_CABAC_DECODER
asm volatile(
"movzbl (%1), %0 \n\t"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment