[Flac-dev] Patch to fix x64 build of libFLAC

Markus Ewald cygon at nuclex.org
Tue May 20 03:42:16 PDT 2008


Hi!

There's a piece of MSVC inline asm in libFLAC as of flac-1.2.1 that 
doesn't respect the FLAC__NO_ASM constant. It's causing trouble only 
when compiling with MSVC _and_ targeting x64 (since inline asm doesn't 
work in x64).

I've attached a patch that fixes the issue to this mail.
When applied, flac-1.2.1 compiles on Windows x86 and Windows x64 
flawlessly. Playback seems fine from what I can tell!

-Markus-



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flac-1.2.1-x64.patch
Url: http://lists.xiph.org/pipermail/flac-dev/attachments/20080520/d1bc24a1/attachment.txt 


More information about the Flac-dev mailing list