Mercurial > libavcodec.hg
diff h264.c @ 4882:8131ccb4ea72 libavcodec
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
author | diego |
---|---|
date | Fri, 27 Apr 2007 09:32:31 +0000 |
parents | fb8cbb18b2b4 |
children | 7eba8b456a3f |
line wrap: on
line diff
--- a/h264.c Thu Apr 26 00:32:31 2007 +0000 +++ b/h264.c Fri Apr 27 09:32:31 2007 +0000 @@ -6111,7 +6111,7 @@ 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);