diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-14 18:01:24 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-04-14 18:01:24 +0000 |
commit | 9829344d526f87ca745208f04216ec795b239581 (patch) | |
tree | 84aef000929bcac9b87144e380e15587534f6e95 /media/libstagefright | |
parent | e523889332b88348e673137d272854278acbef8f (diff) | |
parent | d6579cc9f06052f94bf5a2c34261c84de0efce23 (diff) | |
download | frameworks_av-9829344d526f87ca745208f04216ec795b239581.zip frameworks_av-9829344d526f87ca745208f04216ec795b239581.tar.gz frameworks_av-9829344d526f87ca745208f04216ec795b239581.tar.bz2 |
Merge "media: memset sizeof argument issues"
Diffstat (limited to 'media/libstagefright')
-rw-r--r-- | media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp b/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp index 9a5828d..89f0fed 100644 --- a/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp +++ b/media/libstagefright/codecs/avc/enc/SoftAVCEncoder.cpp @@ -217,7 +217,7 @@ OMX_ERRORTYPE SoftAVCEncoder::initEncParams() { mHandle->CBAVC_Free = FreeWrapper; CHECK(mEncParams != NULL); - memset(mEncParams, 0, sizeof(mEncParams)); + memset(mEncParams, 0, sizeof(*mEncParams)); mEncParams->rate_control = AVC_ON; mEncParams->initQP = 0; mEncParams->init_CBP_removal_delay = 1600; |