[FFmpeg-devel] [PATCH] MMX for Win64

Jean-Baptiste Kempf jb
Sat May 3 08:06:34 CEST 2008


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.

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MMXLong.patch
Type: text/x-diff
Size: 2426 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080502/a52aa0cc/attachment.patch>



More information about the ffmpeg-devel mailing list