[Opalvoip-svn] SF.net SVN: opalvoip:[24849] ptlib/trunk/src/ptlib/common/sound.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <sh...@us...> - 2010-10-31 07:59:53
|
Revision: 24849 http://opalvoip.svn.sourceforge.net/opalvoip/?rev=24849&view=rev Author: shorne Date: 2010-10-31 07:59:47 +0000 (Sun, 31 Oct 2010) Log Message: ----------- Fix bug which created an infinite loop in PSoundChannel::Write Thx.Alessandro Angeli Modified Paths: -------------- ptlib/trunk/src/ptlib/common/sound.cxx Modified: ptlib/trunk/src/ptlib/common/sound.cxx =================================================================== --- ptlib/trunk/src/ptlib/common/sound.cxx 2010-10-31 07:43:28 UTC (rev 24848) +++ ptlib/trunk/src/ptlib/common/sound.cxx 2010-10-31 07:59:47 UTC (rev 24849) @@ -302,9 +302,9 @@ return baseChannel != NULL && baseChannel->Write(buf, len); } -PBoolean PSoundChannel::Write(const void * buf, PINDEX len, const void * mark) +PBoolean PSoundChannel::Write(const void * buf, PINDEX len, const void * /*mark*/) { - return Write(buf, len, mark); + return Write(buf, len); } PINDEX PSoundChannel::GetLastWriteCount() const This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |