[FFmpeg-devel] [PATCH] Fix compilation with 64-bit MinGW

Michael Niedermayer michaelni
Sun Oct 19 23:32:36 CEST 2008

On Sun, Oct 19, 2008 at 06:03:19PM +0200, Reimar D?ffinger wrote:
> Hello,
> the float_to_int stuff still uses long instead of x86_reg, so
> compilation fails with MinGW64.
> Attached patch fixes it. It might add one more chance for gcc
> to mess up the code, but I doubt it is worth bothering, even the
> worst gcc can do should be hidden even by the function call overhead ;-).
> I doubt the alternative of e.g. changing the function prototype
> to use x86_reg is a good idea.

well, ive no better idea ... so patch ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- 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/20081019/19300ade/attachment.pgp>

More information about the ffmpeg-devel mailing list