Skip to content

Commit

Permalink
AUDIO: Fix seeking to the end of a QuickTime audio track
Browse files Browse the repository at this point in the history
  • Loading branch information
clone2727 committed May 22, 2012
1 parent ed4232c commit a3832ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio/decoders/quicktime.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ bool QuickTimeAudioDecoder::QuickTimeAudioTrack::seek(const Timestamp &where) {
_queue = createStream(); _queue = createStream();
_samplesQueued = 0; _samplesQueued = 0;


if (where > getLength()) { if (where >= getLength()) {
// We're done // We're done
_curEdit = _parentTrack->editCount; _curEdit = _parentTrack->editCount;
return true; return true;
Expand Down

0 comments on commit a3832ec

Please sign in to comment.