This commit is contained in:
Glenn Maynard
2006-10-20 09:35:38 +00:00
parent fec2d3628b
commit 43a9f7b451
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -1047,12 +1047,12 @@ int RageSoundReader_MP3::GetLengthInternal( bool fast )
int RageSoundReader_MP3::GetLengthConst( bool fast ) const
{
RageSoundReader_MP3 *cpy = (RageSoundReader_MP3 *) Copy();
RageSoundReader_MP3 *pCopy = this->Copy();
int length = cpy->GetLengthInternal( fast );
int iLength = pCopy->GetLengthInternal( fast );
delete cpy;
return length;
delete pCopy;
return iLength;
}