Erik de Castro Lopo wrote:
> This could also be fixed by adding a:
>
>decoder->protected_->initstate
>
> and using that correctly. Right?
>
> I'm going to play with this idea.
That fixed it. Commit is here:
https://git.xiph.org/?p=flac.git;a=commit;h=3f5208c30022b7cbd0b9095ad3550c4f6
This file has the following code:
#ifdef _WIN32
/* All char* strings are in UTF-8 format. Added to support Unicode files on
Windows */
[...]
#define flac_stat _stat64_utf8
#else
[...]
#ifdef _WIN32
#define flac_stat _stat64
#else
#define flac_stat stat
#endif
#endif
The second "#ifdef _WI
From the neighbouring list,
http://lists.xiph.org/pipermail/opus/2014-April/002592.html
"proper architecture-specific MSVC definitions, _M_IX86 and _M_X64"
So this patch changes _WIN64 to _M_X64 (the corresponding code enables
_BitScanReverse64)
bitmath.patch
Description: Binary data
When compiling lpc.c for x86-64 architecture MSVS issues warnings:
warning C4028: formal parameter _N_ different from declaration
because of flac_restrict modifier. This patch suppresses these warnings.
lpc-msvs-warnings.patch
Description: Binary data
___