[Ffmpeg-devel] about ff_check_alignment()

Guillaume Poirier gpoirier
Tue Jan 30 14:07:59 CET 2007


Hi,

Uoti Urpala wrote:
> On Tue, 2007-01-30 at 09:00 +0100, Guillaume POIRIER wrote:
> 
>>On 1/30/07, yubing <trueice at gmail.com> wrote:
>>
>>
>>>I wonder which compiler the developers are using, would you refer an
>>>appropriate compiler to me?
>>
>>gcc 4.2 or 4.3
> 
> 
> You don't need a development branch compiler for proper stack variable
> alignment. GCC 4.1 works. I don't currently have GCC 4.0 (or older)
> installed, it might or might not work.

The problem arises on "strange setups"/OS, I think it's on MinGW,
where if you use a libav* lib from a 3rd party program, you don't have
the guarantee that the stack is properly aligned.
Newer version of GCC have the ability to re-align the stack properly.
The archives have all the details.

Guillaume




More information about the ffmpeg-devel mailing list