From 5f7898a7fc2510aec6e9eba8bcc3f26098b8ad18 Mon Sep 17 00:00:00 2001 From: "lee.fordyce" Date: Fri, 9 Feb 2024 11:48:28 -0700 Subject: [PATCH] fix: PR feedback --- packager/media/formats/mp4/track_run_iterator.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 {