[FFmpeg-devel] [PATCH] MMX for Win64

Michael Niedermayer michaelni
Sat May 3 13:05:32 CEST 2008

On Fri, May 02, 2008 at 11:06:34PM -0700, Jean-Baptiste Kempf wrote:
> Hello *,
> Here is a patch to help compilation of libavcodec for Windows 64.
> Compiler used is mingw64.
> "The point here is that the code does a pop %0 - for %0 being a 32-bit word -
> Assembler tries to make a pushl value, which is for x86_64 forbidden.
> Long is 32bit on Win64
> (http://technet.microsoft.com/en-us/library/bb496995.aspx).
> ssize_t, however, is portable between both archs."
> Patch comes from the mingw64 team.

Wherever ssize_t comes from, it does not seem to be ISO C.
Also compilation is nice but unless it also works this is of no use.

A simple grep for "long" in i386/ will show you that this patch is

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080503/f8d70fcb/attachment.pgp>

More information about the ffmpeg-devel mailing list