From 7f19016ed47b1fa709a0f4bb4fa7a48f3d70ed08 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Tue, 4 Aug 2015 16:49:28 -0700 Subject: Fix crash on malformed id3 Bug: 22954006 Change-Id: I488cb1e2c69fc7043b6040481b30fa866000515d Tested-by: Wolfgang Wiedmeyer --- include/media/stagefright/MetaData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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() { -- cgit v1.1