mpg123 stream fix

This commit is contained in:
GaryOderNichts 2021-08-21 17:50:47 +02:00
parent cf002f8fa8
commit dc2aa07b44

View File

@ -653,7 +653,8 @@ static ssize_t mpg123_read_replacement(void* handle, void* data, size_t size)
static off_t mpg123_seek_replacement(void* handle, off_t offset, int whence)
{
return fseek((FILE*)handle, offset, whence);
fseek((FILE*)handle, offset, whence);
return ftell((FILE*)handle);
}
class CMP3File : public IDecoder