libFLAC for Windows compiled with GCC/MinGW can't detect SSE OS support: it can't use GCC+Linux detection code and can't use MSVC+Win32 code that uses SEH (__try/__except). So it doesn't use any SSE/SSE2/etc routines.
One way to fix it is to call configure script with --enable-sse
(flac will probably crash on Win95/WinNT4 but who cares).
Another way is to add a new code just for GCC+Win32 case.
The patch is attached.
...One thing that worries me is the comment in cpu.c:
/* sigill_handler flavor resulted in several crash reports on win32 */
but the corresponding ticket #307 ( http://sourceforge.net/p/flac/bugs/307/ )
doesn't reveal any details.
cpu_gcc_win32.patch
Description: Binary data
_______________________________________________ flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
