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-07-21 17:29:22 -0700
commit9871fae25b351268e359682e6c149acbf47620c1 (patch)
tree59884fae2f7b3d84e5c1773ad4488c75b383f747 /media/libstagefright/codecs/mp3dec/SoftMP3.h
parent030001de8b26291b139a8c1d594f05130dafac1b (diff)
downloadframeworks_av-9871fae25b351268e359682e6c149acbf47620c1.zip
frameworks_av-9871fae25b351268e359682e6c149acbf47620c1.tar.gz
frameworks_av-9871fae25b351268e359682e6c149acbf47620c1.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);
};