mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
AUDIO: Fix seeking to the end of a QuickTime audio track
This commit is contained in:
parent
ed4232cfeb
commit
a3832ecd5d
@ -338,7 +338,7 @@ bool QuickTimeAudioDecoder::QuickTimeAudioTrack::seek(const Timestamp &where) {
|
||||
_queue = createStream();
|
||||
_samplesQueued = 0;
|
||||
|
||||
if (where > getLength()) {
|
||||
if (where >= getLength()) {
|
||||
// We're done
|
||||
_curEdit = _parentTrack->editCount;
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user