summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2015-08-04 16:49:28 -0700
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2015-10-19 01:31:12 +0200
commit7f19016ed47b1fa709a0f4bb4fa7a48f3d70ed08 (patch)
treebd7a222e85142c8c5bb5ed81c4323e191b395002 /include
parent7bf55c9cb03af91c92071c07e4206936b04b397c (diff)
downloadframeworks_av-7f19016ed47b1fa709a0f4bb4fa7a48f3d70ed08.zip
frameworks_av-7f19016ed47b1fa709a0f4bb4fa7a48f3d70ed08.tar.gz
frameworks_av-7f19016ed47b1fa709a0f4bb4fa7a48f3d70ed08.tar.bz2
Fix crash on malformed id3
Bug: 22954006 Change-Id: I488cb1e2c69fc7043b6040481b30fa866000515d Tested-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MetaData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h
index e91904c..6249284 100644
--- a/include/media/stagefright/MetaData.h
+++ b/include/media/stagefright/MetaData.h
@@ -239,7 +239,7 @@ private:
return mSize <= sizeof(u.reservoir);
}
- void allocateStorage(size_t size);
+ void *allocateStorage(size_t size);
void freeStorage();
void *storage() {