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

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: Address review comments. Created 8 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/mp4/box_definitions.cc ('k') | media/mp4/mp4_stream_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mp4/box_reader.h
diff --git a/media/mp4/box_reader.h b/media/mp4/box_reader.h
index 211d99ac6109cb2cb58bf904570343834f53a518..513950e087f7f353c9be69acced38fad6b9d8485 100644
--- a/media/mp4/box_reader.h
+++ b/media/mp4/box_reader.h
@@ -54,8 +54,9 @@ class MEDIA_EXPORT BufferReader {
// Advance the stream by this many bytes.
bool SkipBytes(int nbytes) WARN_UNUSED_RESULT;
- int size() { return size_; }
- int pos() { return pos_; }
+ const uint8* data() const { return buf_; };
ddorwin 2012/09/22 03:25:06 You don't need the last semicolon.
strobe_ 2012/09/22 04:05:33 I just wanted to be sure that my statement was rea
+ int size() const { return size_; };
+ int pos() const { return pos_; };
protected:
const uint8* buf_;
« no previous file with comments | « media/mp4/box_definitions.cc ('k') | media/mp4/mp4_stream_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698