[xiph-commits] r17213 - trunk/oggdsf/src/lib/core/ogg/libOOOgg
cristianadam at svn.xiph.org
cristianadam at svn.xiph.org
Fri May 14 15:53:43 PDT 2010
Author: cristianadam
Date: 2010-05-14 15:53:43 -0700 (Fri, 14 May 2010)
New Revision: 17213
Modified:
trunk/oggdsf/src/lib/core/ogg/libOOOgg/CircularBuffer.cpp
Log:
Fixed bug, surfaced by trying to play hires versions of "Patent Absurdity"
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/CircularBuffer.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/CircularBuffer.cpp 2010-05-14 21:45:08 UTC (rev 17212)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/CircularBuffer.cpp 2010-05-14 22:53:43 UTC (rev 17213)
@@ -57,7 +57,7 @@
{
locBytesToRead = std::min(inBytesToRead, numBytesAvail());
}
- else if (inBytesToRead > spaceLeft())
+ else if (inBytesToRead > numBytesAvail())
{
return 0;
}
More information about the commits
mailing list