[FFmpeg-devel] [PATCH] fix h264_deblock_sse2.asm segfaults on clang/x86-32
Wed Sep 1 10:32:43 CEST 2010
Carl Eugen Hoyos <cehoyos at ag.or.at> writes:
> Ronald S. Bultje <rsbultje <at> gmail.com> writes:
>> on fate/clang/freebsd/x86-32 , all h264 tests fail with a sigbus.
>> There's some alignment issues in the sse2 asm. The asm appears to
>> assume that the caller function guarantees a certain alignment, which
>> is (IMO) not necessarily true. If the function is called directly from
>> C, stack can have any alignment, depending on the compiler used, so
>> the functions shouldn't assume any specific alignment imo.
> Did you look at line 3062 in x86/dsputil_mmx.c (__ICC > 1110) for
> the time you are trying to fix it?
IMO that ifdef should never have been added.
mans at mansr.com
More information about the ffmpeg-devel