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

Commit 08e31383 authored by Marco Nelissen's avatar Marco Nelissen Committed by Jessica Wagantall
Browse files

Fix initialization of AAC presentation struct

Otherwise the new size checks trip on this.

Ticket: CYNGNOS-2707
Bug: 27207275
Change-Id: I1f8f01097e3a88ff041b69279a6121be842f1766
parent 8dd12ca1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2494,6 +2494,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;