diff options
author | James Dong <jdong@google.com> | 2011-05-09 11:36:53 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-05-09 11:36:53 -0700 |
commit | 4650ff0e86f9e815e3152a806a06c700418d071d (patch) | |
tree | cd935b7ff3b644329648f2c3af1278fffe0b720e /include/media/stagefright/MetaData.h | |
parent | 43ec1dfc5dc3934680a52a026c5519ddc51bdbd3 (diff) | |
download | frameworks_av-4650ff0e86f9e815e3152a806a06c700418d071d.zip frameworks_av-4650ff0e86f9e815e3152a806a06c700418d071d.tar.gz frameworks_av-4650ff0e86f9e815e3152a806a06c700418d071d.tar.bz2 |
Add const to the finders method in MetaData.cpp
o also fixed the MPEG4Writer writeFtypBox() to take a const pointer to MetaData
Change-Id: Iaecdbe6aeab345f6dc72aac0d19f9704b6e0d28a
Diffstat (limited to 'include/media/stagefright/MetaData.h')
-rw-r--r-- | include/media/stagefright/MetaData.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h index 4044c5d..a300f0e 100644 --- a/include/media/stagefright/MetaData.h +++ b/include/media/stagefright/MetaData.h @@ -154,16 +154,16 @@ public: int32_t left, int32_t top, int32_t right, int32_t bottom); - bool findCString(uint32_t key, const char **value); - bool findInt32(uint32_t key, int32_t *value); - bool findInt64(uint32_t key, int64_t *value); - bool findFloat(uint32_t key, float *value); - bool findPointer(uint32_t key, void **value); + bool findCString(uint32_t key, const char **value) const; + bool findInt32(uint32_t key, int32_t *value) const; + bool findInt64(uint32_t key, int64_t *value) const; + bool findFloat(uint32_t key, float *value) const; + bool findPointer(uint32_t key, void **value) const; bool findRect( uint32_t key, int32_t *left, int32_t *top, - int32_t *right, int32_t *bottom); + int32_t *right, int32_t *bottom) const; bool setData(uint32_t key, uint32_t type, const void *data, size_t size); |