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

Uoti Urpala uoti.urpala
Thu Aug 2 01:56:13 CEST 2007


On Thu, 2007-08-02 at 01:29 +0200, Reimar D?ffinger wrote:
> My impression so far is that it is one of
> 1) pre-4 gcc. Seems reasonable to ask for something newer then, for
> AltiVec it is need too after all (IIRC).
> 2) The calling function (not gcc compiled or old gcc compiled) not
> having the stack aligned sufficiently. Here the solution seems out of
> our scope beyond adding it to the FAQ. We might in addition see if we
> can provide a wrapper function to align the stack suitably.

As I mentioned earlier on -cvslog: if externally visible functions were
marked then FFmpeg could set the gcc 4.2+ function parameter
force_align_arg_pointer for them on win32.





More information about the ffmpeg-devel mailing list