fix ASSERT( iGotFrames <= iFrames )

This commit is contained in:
Glenn Maynard
2006-12-26 23:29:11 +00:00
parent 41f8e2975e
commit 49b3473f65
@@ -349,7 +349,7 @@ int PolyphaseFilter::ReadBuffer( State &State, float *pOut, int iSamplesOut ) co
{
float *pOutOrig = pOut;
while( State.m_iFilled )
while( State.m_iFilled && iSamplesOut-- )
{
*pOut = State.m_fBuf[State.m_iBufNext];
++pOut;