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

Commit 5a75b421 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am 30d77e2c: Fix potential buffer overrun

* commit '30d77e2c':
  Fix potential buffer overrun
parents b919a3a3 30d77e2c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -357,7 +357,7 @@ void SoftVorbis::onQueueFilled(OMX_U32 portIndex) {
        } else {
            numFrames = vorbis_dsp_pcmout(
                    mState, (int16_t *)outHeader->pBuffer,
                    kMaxNumSamplesPerBuffer);
                    (kMaxNumSamplesPerBuffer / mVi->channels));

            if (numFrames < 0) {
                ALOGE("vorbis_dsp_pcmout returned %d", numFrames);