[Ffmpeg-devel] Stack alignment

koyama tadayoshi koyama
Fri Feb 23 18:33:08 CET 2007


"Michael Niedermayer" <michaelni at gmx.at> wrote:
>> BTW, current ff_check_alignment will fail to detected incompatible compiler
>> when the variable just happens to be placed on an aligned address.
>> Double checking will works better, just IMHO.
>> 
>> DECLARE_ALIGNED_16(int, a);
>> DECLARE_ALIGNED_16(int, b);
>> if (((int)&a | (int)&b) & 15) {
>
>feel free to send a patch ...
patch attached.





More information about the ffmpeg-devel mailing list