[FFmpeg-devel] [PATCH] mxfdec: make it work with other calling conventions

Reimar Döffinger Reimar.Doeffinger
Thu Jul 1 01:06:08 CEST 2010


On Wed, Jun 30, 2010 at 02:49:55PM -0700, Baptiste Coudurier wrote:
> >>But that's more an explanation of
> >>why there isn't any prototype for the read() function.
> >
> >I expected that is because pointers to functions with a different
> >number of arguments were stored there, but that is more of an argument
> >_for_ making it an error, since this allowed the fact that the
> >code would crash with stdcall and all other calle-restores-stack calling
> >conventions to go by unnoticed, without even a warning.
> 
> All the functions are called with the same number of arguments.

That's completely irrelevant, they are called with a different number
of arguments than the number of arguments they are declared with!



More information about the ffmpeg-devel mailing list