[FFmpeg-devel] [PATCH] lavfi: add init2 callback
Reimar.Doeffinger at gmx.de
Tue Jul 10 08:50:32 CEST 2012
On 8 Jul 2012, at 22:29, Nicolas George <nicolas.george at normalesup.org> wrote:
> Le primidi 21 messidor, an CCXX, Reimar Döffinger a écrit :
>> I haven't checked but I am quite sure there is no such requirement in the
>> C standard.
>> In particular it will fail horrible with Windows' traditional calling
>> convention where the callee increments the stack pointer again.
> Then I am surprised: how does it work with with varargs?
varargs use a different calling convention on Windows (it supports several).
And yes, it's messy as usual with Windows (though in theory it has a bit of a performance benefit, at least it had with CPUs back then).
More information about the ffmpeg-devel