AUDIO: Fix seeking to the end of a QuickTime audio track

This commit is contained in:
Matthew Hoops 2012-05-21 22:38:32 -04:00
parent ed4232cfeb
commit a3832ecd5d

View File

@ -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;