From ea68ebf4b5edda1fd6a93728ae5a7aaf6e189936 Mon Sep 17 00:00:00 2001 From: David Chen Date: Fri, 10 May 2024 16:47:41 -0700 Subject: [PATCH] clang-format --- packager/media/base/stream_info.h | 4 ++-- packager/media/formats/mp4/mp4_media_parser.cc | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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; } }