summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2014-08-27 09:02:47 -0700
committerLajos Molnar <lajos@google.com>2014-09-10 00:06:45 -0700
commit7ea429295a2eb31f2d9256c36c1ef53a195456ac (patch)
treeb6c7d9d6050093b199d25e579d1407dca4ccc9e5 /include/media
parent83ee5564965408307e6f045ce5faed72bc3437b0 (diff)
downloadframeworks_av-7ea429295a2eb31f2d9256c36c1ef53a195456ac.zip
frameworks_av-7ea429295a2eb31f2d9256c36c1ef53a195456ac.tar.gz
frameworks_av-7ea429295a2eb31f2d9256c36c1ef53a195456ac.tar.bz2
stagefright: don't use AAtomizer in AMessage
Bug: 15094301 Change-Id: Ib82fb6d8fb6b48402d81f411123b3d924368eb93
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/foundation/AMessage.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/media/stagefright/foundation/AMessage.h b/include/media/stagefright/foundation/AMessage.h
index 5846d6b..a9e235b 100644
--- a/include/media/stagefright/foundation/AMessage.h
+++ b/include/media/stagefright/foundation/AMessage.h
@@ -137,7 +137,9 @@ private:
Rect rectValue;
} u;
const char *mName;
+ size_t mNameLength;
Type mType;
+ void setName(const char *name, size_t len);
};
enum {
@@ -147,12 +149,14 @@ private:
size_t mNumItems;
Item *allocateItem(const char *name);
- void freeItem(Item *item);
+ void freeItemValue(Item *item);
const Item *findItem(const char *name, Type type) const;
void setObjectInternal(
const char *name, const sp<RefBase> &obj, Type type);
+ size_t findItemIndex(const char *name, size_t len) const;
+
DISALLOW_EVIL_CONSTRUCTORS(AMessage);
};