summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/ACodec.cpp
diff options
context:
space:
mode:
authorWei Jia <wjia@google.com>2015-05-19 18:46:22 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-19 18:46:23 +0000
commitdf3e7e8912ad8fcc268852fd016723850aae7fd1 (patch)
tree5ab841cc616a38107ed88b9490d7bf2eb53c07ca /media/libstagefright/ACodec.cpp
parent8eddd88568fe4da0ca0ceab5072bc488827f01b5 (diff)
parent201d8d400eb037547f4f476a838475b13a446007 (diff)
downloadframeworks_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.cpp2
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();