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

Unified Diff: media/mp4/box_definitions.cc

Issue 14641006: Support EAC3 (Dolby Digital Plus) codec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Aaron's comments Created 7 years, 8 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
Index: media/mp4/box_definitions.cc
diff --git a/media/mp4/box_definitions.cc b/media/mp4/box_definitions.cc
index 6c645be4acd2109b52fe1321df25a498e87e50cf..e7f169323bb6b90a94854d9bfe9ce55bc07bcd3e 100644
--- a/media/mp4/box_definitions.cc
+++ b/media/mp4/box_definitions.cc
@@ -467,7 +467,8 @@ bool AudioSampleEntry::Parse(BoxReader* reader) {
}
}
- RCHECK(reader->ReadChild(&esds));
+ // ESDS is not valid in case of EAC3.
+ RCHECK(reader->MaybeReadChild(&esds));
return true;
}
« no previous file with comments | « media/media.gyp ('k') | media/mp4/es_descriptor.h » ('j') | media/mp4/mp4_stream_parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698