Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1049)

Unified Diff: media/formats/mp4/mp4_stream_parser.cc

Issue 2365653006: Address review nits from r420647 (Closed)
Patch Set: Fix typo in header Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/formats/mp4/mp4_stream_parser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/mp4/mp4_stream_parser.cc
diff --git a/media/formats/mp4/mp4_stream_parser.cc b/media/formats/mp4/mp4_stream_parser.cc
index 60a8e7eb04dd493aa3ca35f578bc5817fdadad35..d43e4154ee485ce0c7887b2ae504533218f27e96 100644
--- a/media/formats/mp4/mp4_stream_parser.cc
+++ b/media/formats/mp4/mp4_stream_parser.cc
@@ -35,7 +35,7 @@ namespace mp4 {
namespace {
const int kMaxEmptySampleLogs = 20;
-}
+} // namespace
MP4StreamParser::MP4StreamParser(const std::set<int>& audio_object_types,
bool has_sbr)
@@ -47,8 +47,7 @@ MP4StreamParser::MP4StreamParser(const std::set<int>& audio_object_types,
has_video_(false),
audio_object_types_(audio_object_types),
has_sbr_(has_sbr),
- num_top_level_box_skipped_(0),
- num_emtpy_samples_skipped_(0) {}
+ num_empty_samples_skipped_(0) {}
MP4StreamParser::~MP4StreamParser() {}
@@ -564,7 +563,7 @@ bool MP4StreamParser::EnqueueSample(BufferQueueMap* buffers, bool* err) {
if (runs_->sample_size() == 0) {
// Generally not expected, but spec allows it. Code below this block assumes
// the current sample is not empty.
- LIMITED_MEDIA_LOG(DEBUG, media_log_, num_emtpy_samples_skipped_,
+ LIMITED_MEDIA_LOG(DEBUG, media_log_, num_empty_samples_skipped_,
kMaxEmptySampleLogs)
<< " Skipping 'trun' sample with size of 0.";
runs_->AdvanceSample();
« no previous file with comments | « media/formats/mp4/mp4_stream_parser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698