[Ffmpeg-devel] SSE2 Crashing

Loren Merritt lorenm
Fri Aug 18 20:19:15 CEST 2006


On Fri, 18 Aug 2006, Marco Manfredini wrote:

> This happened with Mactel here on various occasions too. I found that, in my
> cases, ff_fdct_sse2 got blocks from locals that were attributed
> DECLARE_ALIGNED_8(t,v). For some reason DECLARE_ALIGNED_8 got defined in
> dsputil.h as "__attribute__ ((aligned (8)))" and not "__attribute__ ((aligned
> (16)))" as it should (I failed to understand the logic behind
> DECLARE_ALIGN_{8,16} though :-) ).

DECLARE_ALIGNED_8 is supposed to be __attribute__ ((aligned (8))).
The fix is to use DECLARE_ALIGNED_16 if it needs to be aligned 16. Hence 
the name.

--Loren Merritt




More information about the ffmpeg-devel mailing list