diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-04-27 09:32:31 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-04-27 09:32:31 +0000 |
commit | e69364b700a6c0cb411ddc7737bc8e9e701d0cb8 (patch) | |
tree | 5a2ef022abf8fea43fc5115769e9319a32a99027 /libavcodec/h264.c | |
parent | 660db1d6e9f7d8ad25b6362e17cc3fcc8e597bef (diff) | |
download | ffmpeg-e69364b700a6c0cb411ddc7737bc8e9e701d0cb8.tar.gz |
Mark code parts that cannot work on AMD64 due to broken relocations as such.
This allows building shared libraries on AMD64 again.
based on a patch by Diego 'Flameeyes' Pettenò and suggestions by Michael
original thread:
Date: Wed, 18 Apr 2007 11:26:12 +0200
Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again
Originally committed as revision 8849 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 79b605ccad..b5bd0a8a71 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -6111,7 +6111,7 @@ static int decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int n index[coeff_count++] = last;\ } const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD]; -#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) +#if defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS) coeff_count= decode_significance_8x8_x86(CC, significant_coeff_ctx_base, index, sig_off); } else { coeff_count= decode_significance_x86(CC, max_coeff, significant_coeff_ctx_base, index); |