diff options
| author | Matthew Hoops | 2012-05-21 22:38:32 -0400 | 
|---|---|---|
| committer | Matthew Hoops | 2012-05-21 22:38:32 -0400 | 
| commit | a3832ecd5d7c16f5be5119edff2024b50bbf2651 (patch) | |
| tree | 63cc05b082d9143ba2f8d025173ca2dd90821a36 | |
| parent | ed4232cfeb3ab16ee6046f422f5827fa6c4992c8 (diff) | |
| download | scummvm-rg350-a3832ecd5d7c16f5be5119edff2024b50bbf2651.tar.gz scummvm-rg350-a3832ecd5d7c16f5be5119edff2024b50bbf2651.tar.bz2 scummvm-rg350-a3832ecd5d7c16f5be5119edff2024b50bbf2651.zip  | |
AUDIO: Fix seeking to the end of a QuickTime audio track
| -rw-r--r-- | audio/decoders/quicktime.cpp | 2 | 
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;  | 
