summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/mp3dec/SoftMP3.h
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2016-06-27 13:55:14 -0700
committergitbuildkicker <android-build@google.com>2016-08-16 15:51:48 -0700
commit10db5e094e4d7501ec277622dc29e714927dc588 (patch)
treef264d8039e944a60b1f6699c55cb2826dcd8cb11 /media/libstagefright/codecs/mp3dec/SoftMP3.h
parentf81038006b4c59a5a148dcad887371206033c28f (diff)
downloadframeworks_av-10db5e094e4d7501ec277622dc29e714927dc588.zip
frameworks_av-10db5e094e4d7501ec277622dc29e714927dc588.tar.gz
frameworks_av-10db5e094e4d7501ec277622dc29e714927dc588.tar.bz2
SoftMP3: memset safely
Bug: 29422022 Change-Id: I70c9e33269d16bf8c163815706ac24e18e34fe97
Diffstat (limited to 'media/libstagefright/codecs/mp3dec/SoftMP3.h')
-rw-r--r--media/libstagefright/codecs/mp3dec/SoftMP3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/mp3dec/SoftMP3.h b/media/libstagefright/codecs/mp3dec/SoftMP3.h
index f9e7b53..3bfa6c7 100644
--- a/media/libstagefright/codecs/mp3dec/SoftMP3.h
+++ b/media/libstagefright/codecs/mp3dec/SoftMP3.h
@@ -72,6 +72,7 @@ private:
void initPorts();
void initDecoder();
+ void *memsetSafe(OMX_BUFFERHEADERTYPE *outHeader, int c, size_t len);
DISALLOW_EVIL_CONSTRUCTORS(SoftMP3);
};