diff --git a/src/audio/oal/stream.cpp b/src/audio/oal/stream.cpp index 87ddc0d0..7f3f067e 100644 --- a/src/audio/oal/stream.cpp +++ b/src/audio/oal/stream.cpp @@ -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