diff options
-rw-r--r-- | audio/decoders/quicktime.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/decoders/quicktime.cpp b/audio/decoders/quicktime.cpp index f82dc05b7c..e80c2b592c 100644 --- a/audio/decoders/quicktime.cpp +++ b/audio/decoders/quicktime.cpp @@ -304,8 +304,7 @@ void QuickTimeAudioDecoder::setAudioStreamPos(const Timestamp &where) { _audStream = Audio::makeQueuingAudioStream(entry->sampleRate, entry->channels == 2); // First, we need to track down what audio sample we need - Audio::Timestamp curAudioTime = where; - curAudioTime.convertToFramerate(_streams[_audioStreamIndex]->time_scale); + Audio::Timestamp curAudioTime = where.convertToFramerate(_streams[_audioStreamIndex]->time_scale); uint32 sample = curAudioTime.totalNumberOfFrames() / entry->channels; uint32 seekSample = sample; |