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

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

Merge "Remove buffers from mFlushedConfigs when queued"

parents 959563b7 472c738c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2483,6 +2483,7 @@ status_t CCodecBufferChannel::requestInitialInputBuffers() {
            bool post = true;
            if (!configs->empty()) {
                sp<ABuffer> config = configs->front();
                configs->pop_front();
                if (buffer->capacity() >= config->size()) {
                    memcpy(buffer->base(), config->data(), config->size());
                    buffer->setRange(0, config->size());