Fix initialization of AAC presentation struct am: dabb051
am: f91072a
* commit 'f91072ab57f9fadade6c3eba2aabb1a914a94345':
Fix initialization of AAC presentation struct
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp
index e0fe7e3..520f599 100644
--- a/media/libstagefright/ACodec.cpp
+++ b/media/libstagefright/ACodec.cpp
@@ -2555,6 +2555,7 @@
: OMX_AUDIO_AACStreamFormatMP4FF;
OMX_AUDIO_PARAM_ANDROID_AACPRESENTATIONTYPE presentation;
+ InitOMXParams(&presentation);
presentation.nMaxOutputChannels = maxOutputChannelCount;
presentation.nDrcCut = drc.drcCut;
presentation.nDrcBoost = drc.drcBoost;