no need to manually propagate error messages

This commit is contained in:
Glenn Maynard
2006-12-23 06:55:21 +00:00
parent 08210c9c8e
commit e090c7b115
4 changed files with 0 additions and 13 deletions
-3
View File
@@ -13,10 +13,7 @@ int RageSoundReader_Pan::Read( char *pBuf, int iFrames )
{
iFrames = m_pSource->Read( pBuf, iFrames );
if( iFrames < 0 )
{
this->SetError( m_pSource->GetError() );
return iFrames;
}
int iSamples = iFrames * m_pSource->GetNumChannels();