[FFmpeg-devel] Stack variables alignment check in libavcodec/dsputil.c

Alex Beregszaszi alex
Tue Jul 31 09:07:57 CEST 2007


Hi,

> > > > If this fails, some SSE optims will crash.
> > >
> > >   Not neccesseraly. The variables on the stack could be properly aligned
> > > just by an accident.
> >
> > I am facing such bugs on Windows.  Some of the SSE code (which does
> > unaligned access) crashes.  Like vorbis_inverse_coupling_sse.
> 
> Threaded de/encoding is known broken on Windows, since the OS doesn't
> maintain the alignment upon thread entry. But otherwise I've never met
> with such crashes.

I do not have threading enabled.  I am using GCC 3 something.

--
Alex






More information about the ffmpeg-devel mailing list