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

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

am 0d9eb04f: am 5a75b421: am 30d77e2c: Fix potential buffer overrun

* commit '0d9eb04f':
  Fix potential buffer overrun
parents bd28ac74 0d9eb04f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -364,7 +364,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);