diff --git a/packager/media/base/stream_info.h b/packager/media/base/stream_info.h index 7caf971dd3..0180958be1 100644 --- a/packager/media/base/stream_info.h +++ b/packager/media/base/stream_info.h @@ -157,8 +157,8 @@ class StreamInfo { // Optional data required for preserving media time when repackaging an // init segment alone. int64_t media_time_ = 0; - // Optional data required for preserving default sample duration when repackaging an - // init segment alone. + // Optional data required for preserving default sample duration when + // repackaging an init segment alone. uint32_t default_sample_duration_ = 0; // Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler diff --git a/packager/media/formats/mp4/mp4_media_parser.cc b/packager/media/formats/mp4/mp4_media_parser.cc index 73c5ffe6a2..4a02112578 100644 --- a/packager/media/formats/mp4/mp4_media_parser.cc +++ b/packager/media/formats/mp4/mp4_media_parser.cc @@ -598,7 +598,8 @@ bool MP4MediaParser::ParseMoov(BoxReader* reader) { for (const auto& trex : moov_->extends.tracks) { if (trex.track_id == track->header.track_id) { - streams.back()->set_default_sample_duration(trex.default_sample_duration); + streams.back()->set_default_sample_duration( + trex.default_sample_duration); break; } } @@ -777,7 +778,8 @@ bool MP4MediaParser::ParseMoov(BoxReader* reader) { for (const auto& trex : moov_->extends.tracks) { if (trex.track_id == track->header.track_id) { - video_stream_info->set_default_sample_duration(trex.default_sample_duration); + video_stream_info->set_default_sample_duration( + trex.default_sample_duration); break; } }