diff options
author | Wei Jia <wjia@google.com> | 2015-05-19 18:46:22 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-05-19 18:46:23 +0000 |
commit | df3e7e8912ad8fcc268852fd016723850aae7fd1 (patch) | |
tree | 5ab841cc616a38107ed88b9490d7bf2eb53c07ca /media/libstagefright/ACodec.cpp | |
parent | 8eddd88568fe4da0ca0ceab5072bc488827f01b5 (diff) | |
parent | 201d8d400eb037547f4f476a838475b13a446007 (diff) | |
download | frameworks_av-df3e7e8912ad8fcc268852fd016723850aae7fd1.zip frameworks_av-df3e7e8912ad8fcc268852fd016723850aae7fd1.tar.gz frameworks_av-df3e7e8912ad8fcc268852fd016723850aae7fd1.tar.bz2 |
Merge "ACodec: fix error conversion." into mnc-dev
Diffstat (limited to 'media/libstagefright/ACodec.cpp')
-rw-r--r-- | media/libstagefright/ACodec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index f600c46..70480a2 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -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(); |