git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5585 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2003-12-06 00:07:33 +00:00
parent 4cbbc5a9ec
commit f845959e7d

View File

@ -55,6 +55,7 @@ mp3Decoder::Seek(uint32 seekTo,
{
ExitMP3(&fMpgLibPrivate);
InitMP3(&fMpgLibPrivate);
fResidualBytes = 0;
return B_OK;
}
@ -81,7 +82,7 @@ mp3Decoder::Decode(void *buffer, int64 *frameCount,
int32 chunkSize;
if (B_OK != GetNextChunk(&chunkBuffer, &chunkSize, mediaHeader)) {
TRACE("mp3Decoder::Decode: GetNextChunk failed\n");
return B_ERROR;
return B_ERROR;
}
int outsize;