From a3832ecd5d7c16f5be5119edff2024b50bbf2651 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 21 May 2012 22:38:32 -0400 Subject: AUDIO: Fix seeking to the end of a QuickTime audio track --- audio/decoders/quicktime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/decoders') 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; -- cgit v1.2.3