[FFmpeg-devel] [PATCH] lavfi: add init2 callback

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jul 8 22:26:16 CEST 2012


On 6 Jul 2012, at 11:56, Nicolas George <nicolas.george at normalesup.org> wrote:
> IMHO, for a quick-and-dirty temporary fix, you could just change
> avfilter_init_filter so that it passes the opaque argument to the init
> function, using a cast (AFAIK, passing more arguments to a function is
> always ok in C)

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.


More information about the ffmpeg-devel mailing list