freebsd-ports/audio/mac/files/patch-src-MACLib-WAVInputSource.cpp
Pav Lucistnik 950514d877 Add mac, Monkey's Audio Codec which was recently released in source code.
It contain a library and an executable compressor/decompressor of .ape files.

Does not build under 4.x, we hit the wall with missing wcstol(). Working
patches would be welcomed.

PR:		ports/70153
Submitted by:	Martin Dieringer <Martin.Dieringer@t-online.de>
2004-08-11 07:52:12 +00:00

12 lines
482 B
C++

--- src/MACLib/WAVInputSource.cpp.orig Wed May 12 06:35:57 2004
+++ src/MACLib/WAVInputSource.cpp Mon Aug 9 20:27:58 2004
@@ -47,7 +47,7 @@
pExtension--;
// create the proper input source
- if (wcsicmp(pExtension, L".wav") == 0)
+ if (wcscmp(pExtension, L".wav") == 0)
{
if (pErrorCode) *pErrorCode = ERROR_SUCCESS;
return new CWAVInputSource(pSourceName, pwfeSource, pTotalBlocks, pHeaderBytes, pTerminatingBytes, pErrorCode);