diff options
author | Michael Smith <msmith@xiph.org> | 2008-07-24 00:32:37 +0000 |
---|---|---|
committer | Michael Smith <msmith@xiph.org> | 2008-07-24 00:32:37 +0000 |
commit | cbc867455fc84c1d7abc3f1b5924c1bb17140f9e (patch) | |
tree | 3c24086d351efd5acce5d39b27ee6879f2c082d2 /gst/modplug/libmodplug/sndfile.h | |
parent | 8af2be1a1edb37769801298fd155ddcf84772b85 (diff) | |
download | gst-plugins-bad-cbc867455fc84c1d7abc3f1b5924c1bb17140f9e.tar.gz gst-plugins-bad-cbc867455fc84c1d7abc3f1b5924c1bb17140f9e.tar.bz2 gst-plugins-bad-cbc867455fc84c1d7abc3f1b5924c1bb17140f9e.zip |
gst/festival/gstfestival.c: Guard unistd.h with HAVE_UNISTD_H
Original commit message from CVS:
* gst/festival/gstfestival.c:
Guard unistd.h with HAVE_UNISTD_H
* gst/modplug/libmodplug/load_it.cpp:
* gst/modplug/libmodplug/sndfile.cpp:
* gst/modplug/libmodplug/sndfile.h:
* gst/modplug/libmodplug/stdafx.h:
Support for compiling with MSVC: use _MSC_VER for detecting MSVC instead
of MSC_VER. Make CanPackSamples take the type it's passed. Change scope
of a variable in load_it.cpp to MSVC's scoping rules.
* gst/sdp/gstsdpdemux.c:
Guard unistd.h with HAVE_UNISTD_H
Fixes #544457.
Diffstat (limited to 'gst/modplug/libmodplug/sndfile.h')
-rw-r--r-- | gst/modplug/libmodplug/sndfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/modplug/libmodplug/sndfile.h b/gst/modplug/libmodplug/sndfile.h index 577bc696..863d866f 100644 --- a/gst/modplug/libmodplug/sndfile.h +++ b/gst/modplug/libmodplug/sndfile.h @@ -730,7 +730,7 @@ public: /* Read/Write sample functions */ signed char GetDeltaValue(signed char prev, UINT n) const { return (signed char)(prev + CompressionTable[n & 0x0F]); } UINT PackSample(int &sample, int next); - BOOL CanPackSample(LPSTR pSample, UINT nLen, UINT nPacking, BYTE *result=NULL); + BOOL CanPackSample(signed char * pSample, UINT nLen, UINT nPacking, BYTE *result=NULL); UINT ReadSample(MODINSTRUMENT *pIns, UINT nFlags, LPCSTR pMemFile, DWORD dwMemLength); BOOL DestroySample(UINT nSample); BOOL DestroyInstrument(UINT nInstr); |