don't clamp iFrames when seeking

This commit is contained in:
Glenn Maynard
2006-12-22 21:44:36 +00:00
parent b88f5da9ef
commit a583d179ca
+1 -3
View File
@@ -623,9 +623,7 @@ bool RageSound::SetPositionFrames( int iFrames )
return false; return false;
} }
int iSeekFrames = max( iFrames, 0 ); int iRet = m_pSource->SetPosition( iFrames );
int iRet = m_pSource->SetPosition( iSeekFrames );
if( iRet == -1 ) if( iRet == -1 )
{ {
Fail( m_pSource->GetError() ); Fail( m_pSource->GetError() );