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

Reimar Döffinger Reimar.Doeffinger
Tue Jun 29 20:30:01 CEST 2010


Hello,
currently mxfdec assumes that it can unpunished pass more arguments to functions
than they were declared with.
This is not true in general, in particular not for stdcall.
While I am not aware of any FFmpeg platform using it, IMHO this code is still
wrong.
Attached is a patch that fixes it, and I think it is not particularly bad.
It also fixes the last remaining warnings ("function declaration is not a prototype")
in that file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mxfdec.diff
Type: text/x-diff
Size: 5457 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100629/51290f63/attachment.diff>



More information about the ffmpeg-devel mailing list