# HG changeset patch # User cigaes # Date 1311197039 0 # Node ID aab87ce93567dece18428e989196dff9b1f2784c # Parent 03d08d7b434354da197b69e08c8d3d1c8d625c67 configure: set HAVE_LOCAL_ALIGNED_* for x86_64. This is compatible with the behaviour of ffmpeg's configure, and fixes the infamous "Compiler did not align stack variables. Libavcodec has been miscompiled" warning introduced by commit 58d7efd "Use LOCAL_ALIGNED in ff_check_alignment()". diff -r 03d08d7b4343 -r aab87ce93567 configure --- a/configure Fri Jul 15 14:36:29 2011 +0000 +++ b/configure Wed Jul 20 21:23:59 2011 +0000 @@ -2105,6 +2105,8 @@ subarch='x86_64' def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' def_av_fast_unaligned='#define AV_HAVE_FAST_UNALIGNED 1' + def_local_aligned_8='#define HAVE_LOCAL_ALIGNED_8 1' + def_local_aligned_16='#define HAVE_LOCAL_ALIGNED_16 1' def_fast_64bit='#define HAVE_FAST_64BIT 1' iproc='x86_64'