diff --git a/packager/media/formats/mp4/track_run_iterator.cc b/packager/media/formats/mp4/track_run_iterator.cc index 3e9ecd7b05a..42d53afac55 100644 --- a/packager/media/formats/mp4/track_run_iterator.cc +++ b/packager/media/formats/mp4/track_run_iterator.cc @@ -597,8 +597,7 @@ int64_t TrackRunIterator::dts() const { int64_t TrackRunIterator::cts() const { DCHECK(IsSampleValid()); - return cts_offset_adjustment_ ? dts() + min_cts_offset_ - : sample_dts_ + sample_itr_->cts_offset; + return sample_dts_ + sample_itr_->cts_offset; } int64_t TrackRunIterator::duration() const {