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

Roman Shaposhnick rvs
Thu Aug 2 01:02:29 CEST 2007


On Tue, 2007-07-31 at 08:53 +0200, Alex Beregszaszi wrote:
> 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.

  Well, in my very humble opinion we have enough of an evidence to
finally do something about it. The only problem is that this seems
to be one of those areas where Michael has strong opinions about
what constitutes the right solution. Meaning that I would be humble
enough not to propose one ;-)

Thanks,
Roman.





More information about the ffmpeg-devel mailing list