aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders/quicktime.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2012-05-21 22:38:32 -0400
committerMatthew Hoops2012-05-21 22:38:32 -0400
commita3832ecd5d7c16f5be5119edff2024b50bbf2651 (patch)
tree63cc05b082d9143ba2f8d025173ca2dd90821a36 /audio/decoders/quicktime.cpp
parented4232cfeb3ab16ee6046f422f5827fa6c4992c8 (diff)
downloadscummvm-rg350-a3832ecd5d7c16f5be5119edff2024b50bbf2651.tar.gz
scummvm-rg350-a3832ecd5d7c16f5be5119edff2024b50bbf2651.tar.bz2
scummvm-rg350-a3832ecd5d7c16f5be5119edff2024b50bbf2651.zip
AUDIO: Fix seeking to the end of a QuickTime audio track
Diffstat (limited to 'audio/decoders/quicktime.cpp')
-rw-r--r--audio/decoders/quicktime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/decoders/quicktime.cpp b/audio/decoders/quicktime.cpp
index 99c1527a71..8874a61c2e 100644
--- a/audio/decoders/quicktime.cpp
+++ b/audio/decoders/quicktime.cpp
@@ -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;