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

Commit 6928c0ee authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "clear allocated memory for mp3 decoding buffers"

parents 02aa2bd6 355b15bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ void SoftMP3::initDecoder() {
    mConfig->crcEnabled = false;

    uint32_t memRequirements = pvmp3_decoderMemRequirements();
    mDecoderBuf = malloc(memRequirements);
    mDecoderBuf = calloc(1, memRequirements);

    pvmp3_InitDecoder(mConfig, mDecoderBuf);
    mIsFirst = true;