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

Commit 324ee076 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "CCodecBufferChannel: add null checks"

parents c6c7b527 f61e899a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1761,7 +1761,7 @@ bool CCodecBufferChannel::handleWork(
        {
            Mutexed<Output>::Locked output(mOutput);
            numOutputSlots = output->numSlots;
            reorderDepth = output->buffers->getReorderDepth();
            reorderDepth = output->buffers ? output->buffers->getReorderDepth() : 0;
        }
        Mutexed<OutputSurface>::Locked output(mOutputSurface);
        output->maxDequeueBuffers = numOutputSlots + reorderDepth + kRenderingDepth;