[Scummvm-cvs-logs] SF.net SVN: scummvm:[48921] scummvm/trunk/sound/decoders/raw.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon May 3 20:32:26 CEST 2010
Revision: 48921
http://scummvm.svn.sourceforge.net/scummvm/?rev=48921&view=rev
Author: lordhoto
Date: 2010-05-03 18:32:26 +0000 (Mon, 03 May 2010)
Log Message:
-----------
Cleanup.
Modified Paths:
--------------
scummvm/trunk/sound/decoders/raw.cpp
Modified: scummvm/trunk/sound/decoders/raw.cpp
===================================================================
--- scummvm/trunk/sound/decoders/raw.cpp 2010-05-03 18:28:05 UTC (rev 48920)
+++ scummvm/trunk/sound/decoders/raw.cpp 2010-05-03 18:32:26 UTC (rev 48921)
@@ -145,11 +145,8 @@
int len = fillBuffer(samplesLeft);
// In case we were not able to read any samples
- // and we reached the end of the stream we will
- // skip reading here. We do not check endOfData
- // alone here to allow empty blocks in the stream.
- // (TODO/FIXME: Do we really need that?)
- if (!len && endOfData())
+ // we will stop reading here.
+ if (!len)
break;
// Adjust the samples left to read.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list