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

Commit 13e556b7 authored by Lajos Molnar's avatar Lajos Molnar
Browse files

media/codec2: reserve a slot for failed query results

Bug: 124982277
Change-Id: I94d0314057805a3a360b716c5e2c6b8e81060ff6
parent 6c7fa038
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -761,9 +761,11 @@ c2_status_t C2InterfaceHelper::query(
            if (p != nullptr) {
                heapParams->push_back(std::move(p));
            } else {
                heapParams->push_back(nullptr);
                paramNoMemory = true;
            }
        } else {
            heapParams->push_back(nullptr);
            paramNotFound = true;
        }
    }