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

Unified Diff: media/mp4/box_reader.h

Issue 10837116: Update EME MediaKeyNeededEvent.initData for ISO BMFF to match current spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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.h
diff --git a/media/mp4/box_reader.h b/media/mp4/box_reader.h
index 211d99ac6109cb2cb58bf904570343834f53a518..deb668ff2bd43d0ec9ac2b8ceabbef66d4821ac7 100644
--- a/media/mp4/box_reader.h
+++ b/media/mp4/box_reader.h
@@ -54,6 +54,7 @@ class MEDIA_EXPORT BufferReader {
// Advance the stream by this many bytes.
bool SkipBytes(int nbytes) WARN_UNUSED_RESULT;
+ const uint8* data() { return buf_; }
ddorwin 2012/09/21 04:04:28 Can this be a const function? The two below should
strobe_ 2012/09/21 18:29:46 Done.
int size() { return size_; }
int pos() { return pos_; }

Powered by Google App Engine
This is Rietveld 408576698