[Scummvm-tracker] [ScummVM :: Bugs] #16594: VORBIS: seek callback returns stream position instead of 0 or -1

ScummVM :: Bugs trac at scummvm.org
Tue Mar 10 00:05:06 UTC 2026


#16594: VORBIS: seek callback returns stream position instead of 0 or -1
---------------------+--------------------
Reporter:  flipkick  |      Owner:  (none)
    Type:  defect    |     Status:  new
Priority:  low       |  Component:  Audio
 Version:            |   Keywords:  seek
    Game:            |
---------------------+--------------------
 The vorbis seek callback is returning the current byte offset instead of
 seek-style status code.

 It should report success or failure, but currently it returns the stream
 position after the seek. That means failed seeks may be misreported as
 successful unless the stream position returns -1 and it doesn't follow the
 callback contract.

 This can lead to problems when seeks in vorbis audio fail.

 See https://xiph.org/vorbis/doc/vorbisfile/callbacks.html
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16594>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list