Skip to content

Commit

Permalink
fix: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
lee.fordyce committed Feb 9, 2024
1 parent 55c3bdd commit 5f7898a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packager/media/formats/mp4/track_run_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5f7898a

Please sign in to comment.