summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRockchip2015-10-10 16:55:28 +0800
committerRockchip2015-10-10 16:55:28 +0800
commit565bf1ba22e5d89913eb92575e5971acfd0726dd (patch)
tree0077daa3567e6960d0aeb3bf8144857506404ec0
parentff61f8466424d2dfcb99f5f186e82b5d1b1f0fde (diff)
sf:fix metaData bugs for last commits
-rwxr-xr-x[-rw-r--r--]media/libstagefright/MetaData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/MetaData.cpp b/media/libstagefright/MetaData.cpp
index 826fa5b..4281438 100644..100755
--- a/media/libstagefright/MetaData.cpp
+++ b/media/libstagefright/MetaData.cpp
@@ -294,7 +294,7 @@ void* MetaData::typed_data::allocateStorage(size_t size) {
if (usesReservoir()) {
return &u.reservoir;
}
-
+ u.ext_data = malloc(mSize);
if (u.ext_data == NULL) {
ALOGE("Couldn't allocate %zu bytes for item", size);
mSize = 0;