[Scummvm-git-logs] scummvm master -> d7e7497795afd2ddbe5ea588cc5b3ec9e24b26fb
bluegr
noreply at scummvm.org
Tue Mar 10 01:47:16 UTC 2026
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
bb9dbce434 AUDIO: fix vorbis seek callback return value
d7e7497795 AUDIO: use 64-bit offsets in vorbis seek callback
Commit: bb9dbce4348efacf968d81625840f07bd440fd87
https://github.com/scummvm/scummvm/commit/bb9dbce4348efacf968d81625840f07bd440fd87
Author: flipkick (167208+flipkick at users.noreply.github.com)
Date: 2026-03-10T03:47:12+02:00
Commit Message:
AUDIO: fix vorbis seek callback return value
Changed paths:
audio/decoders/vorbis.cpp
diff --git a/audio/decoders/vorbis.cpp b/audio/decoders/vorbis.cpp
index be3bf7c108e..b0b6443615c 100644
--- a/audio/decoders/vorbis.cpp
+++ b/audio/decoders/vorbis.cpp
@@ -58,8 +58,7 @@ static size_t read_stream_wrap(void *ptr, size_t size, size_t nmemb, void *datas
static int seek_stream_wrap(void *datasource, ogg_int64_t offset, int whence) {
Common::SeekableReadStream *stream = (Common::SeekableReadStream *)datasource;
- stream->seek((int32)offset, whence);
- return stream->pos();
+ return stream->seek((int32)offset, whence) ? 0 : -1;
}
static int close_stream_wrap(void *datasource) {
Commit: d7e7497795afd2ddbe5ea588cc5b3ec9e24b26fb
https://github.com/scummvm/scummvm/commit/d7e7497795afd2ddbe5ea588cc5b3ec9e24b26fb
Author: flipkick (167208+flipkick at users.noreply.github.com)
Date: 2026-03-10T03:47:12+02:00
Commit Message:
AUDIO: use 64-bit offsets in vorbis seek callback
Changed paths:
audio/decoders/vorbis.cpp
diff --git a/audio/decoders/vorbis.cpp b/audio/decoders/vorbis.cpp
index b0b6443615c..2a69ff549b6 100644
--- a/audio/decoders/vorbis.cpp
+++ b/audio/decoders/vorbis.cpp
@@ -58,7 +58,7 @@ static size_t read_stream_wrap(void *ptr, size_t size, size_t nmemb, void *datas
static int seek_stream_wrap(void *datasource, ogg_int64_t offset, int whence) {
Common::SeekableReadStream *stream = (Common::SeekableReadStream *)datasource;
- return stream->seek((int32)offset, whence) ? 0 : -1;
+ return stream->seek(offset, whence) ? 0 : -1;
}
static int close_stream_wrap(void *datasource) {
More information about the Scummvm-git-logs
mailing list