Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dabb051c authored by Marco Nelissen's avatar Marco Nelissen
Browse files

Fix initialization of AAC presentation struct

Otherwise the new size checks trip on this.

Bug: 27207275
Change-Id: I1f8f01097e3a88ff041b69279a6121be842f1766
(cherry picked from commit 3e5d6d1b)
parent 5e3e8e7d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2555,6 +2555,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;