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

Unified Diff: media/mp4/box_reader.cc

Issue 10651006: Add Common Encryption support to BMFF, including subsample decryption. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add wrong subsample size test Created 8 years, 5 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_reader.cc
diff --git a/media/mp4/box_reader.cc b/media/mp4/box_reader.cc
index 5b219f75eeb29f32a17993c7552361c7b1231525..8892a43991cbd1e9b976134c1ca00f640baaca83 100644
--- a/media/mp4/box_reader.cc
+++ b/media/mp4/box_reader.cc
@@ -123,7 +123,7 @@ bool BoxReader::ScanChildren() {
DCHECK(!scanned_);
scanned_ = true;
- bool err;
+ bool err = false;
// TODO(strobe): Check or correct for multimap not inserting elements in
// consistent order.
while (pos() < size()) {

Powered by Google App Engine
This is Rietveld 408576698