Hi!
I tried to do an x64 build of libvorbis but was stopped by the inline
assembly in lib/os.h.
Attached is a patch that modifies this file so libvorbis will compile
for Windows x64. Tested with Visual C++ 2008 Express (x86_x64 compiler
from current Windows SDK; 15.00.21022.08), seems to be working fine with
no other issues so far.
Important: As you can see in the patch, I also changed the default
implementation for vorbis_ftoi() to do correct rounding with negative
numbers. If this function is only used for positive numbers or the
round-to-greater behavior was intentional, please remove that of my patch!
-Markus-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvorbis-1.2.0-x64.patch
Url:
http://lists.xiph.org/pipermail/vorbis-dev/attachments/20080520/c0d93899/attachment.txt