diff options
author | Marco Nelissen <marcone@google.com> | 2016-03-10 14:29:26 -0800 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2016-04-21 19:09:55 -0700 |
commit | 94d9e646454f6246bf823b6897bd6aea5f08eda3 (patch) | |
tree | b3b831abb4860c06a436712636dfb35793156c15 | |
parent | 295c883fe3105b19bcd0f9e07d54c6b589fc5bff (diff) | |
download | frameworks_av-94d9e646454f6246bf823b6897bd6aea5f08eda3.zip frameworks_av-94d9e646454f6246bf823b6897bd6aea5f08eda3.tar.gz frameworks_av-94d9e646454f6246bf823b6897bd6aea5f08eda3.tar.bz2 |
Fix initialization of AAC presentation struct
Otherwise the new size checks trip on this.
Bug: 27207275
Change-Id: I1f8f01097e3a88ff041b69279a6121be842f1766
-rw-r--r-- | media/libstagefright/ACodec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index 8d9bd21..6399b79 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -2418,6 +2418,7 @@ status_t ACodec::setupAACCodec( : OMX_AUDIO_AACStreamFormatMP4FF; OMX_AUDIO_PARAM_ANDROID_AACPRESENTATIONTYPE presentation; + InitOMXParams(&presentation); presentation.nMaxOutputChannels = maxOutputChannelCount; presentation.nDrcCut = drc.drcCut; presentation.nDrcBoost = drc.drcBoost; |