[Ffmpeg-devel] sse sigsegv and libavcodec/wmadec.c

Måns Rullgård mru
Thu Dec 7 10:05:08 CET 2006

Aaron Williams <aaronw at doofus.org> writes:

> Hi,
> Rich Felker wrote:
>> On Wed, Dec 06, 2006 at 11:23:32PM +0100, Michael Niedermayer wrote:
>>>> I might have been wrong, I think it can't align the stackframe
>>>> variables. One solution would be to move them to the context if that is
>>>> an acceptable solution.
>>> same question why cant to align the stackframe while it apparently can on
>>> linux?
>> See my other reply. gcc never aligns the stack frame, it just assumes
>> it's already aligned (by glibc and all other calling code)... Typical
>> GNU incest.
> What about a macro to allocate space on the stack and align it using
> alloca?  Should be easy to do.

alloca is a nasty hack that should be used rarely, if ever.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list