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

Commit df3e7e89 authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "ACodec: fix error conversion." into mnc-dev

parents 8eddd885 201d8d40
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5126,7 +5126,7 @@ bool ACodec::UninitializedState::onAllocateComponent(const sp<AMessage> &msg) {
    sp<CodecObserver> observer = new CodecObserver;
    IOMX::node_id node = 0;

    status_t err = OMX_ErrorComponentNotFound;
    status_t err = NAME_NOT_FOUND;
    for (size_t matchIndex = 0; matchIndex < matchingCodecs.size();
            ++matchIndex) {
        componentName = matchingCodecs.itemAt(matchIndex).mName.string();