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

Commit a78df959 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "Make AAC decoder behavior after flush consistent with non-flush"

parents f7ceda19 475300b8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -846,6 +846,7 @@ void SoftAAC2::onPortFlushCompleted(OMX_U32 portIndex) {
        // but only if initialization has already happened.
        if (mInputBufferCount != 0) {
            mInputBufferCount = 1;
            mOutputBufferCount = -1;
        }
    } else {
        while (outputDelayRingBufferSamplesAvailable() > 0) {