summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx/OMXNodeInstance.cpp
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-06 23:46:37 -0800
committerJames Dong <jdong@google.com>2012-02-10 11:43:09 -0800
commitf1d5aa162c02a16b7195a43a9bcea4d592600ac4 (patch)
treedc270a6e1a4ee6695e309eeb29c4d9ed7f3a20a2 /media/libstagefright/omx/OMXNodeInstance.cpp
parent43089daaf82bd2b8e5f9a29b80af5abaae4657b3 (diff)
downloadframeworks_av-f1d5aa162c02a16b7195a43a9bcea4d592600ac4.zip
frameworks_av-f1d5aa162c02a16b7195a43a9bcea4d592600ac4.tar.gz
frameworks_av-f1d5aa162c02a16b7195a43a9bcea4d592600ac4.tar.bz2
Move away from MediaDebug and use ADebug instead
Change-Id: I963a3b6f79a7292891973cbeeaf3378b38629f08
Diffstat (limited to 'media/libstagefright/omx/OMXNodeInstance.cpp')
-rw-r--r--media/libstagefright/omx/OMXNodeInstance.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/libstagefright/omx/OMXNodeInstance.cpp b/media/libstagefright/omx/OMXNodeInstance.cpp
index 8938e33..099c4f5 100644
--- a/media/libstagefright/omx/OMXNodeInstance.cpp
+++ b/media/libstagefright/omx/OMXNodeInstance.cpp
@@ -24,8 +24,8 @@
#include <OMX_Component.h>
#include <binder/IMemory.h>
+#include <media/stagefright/foundation/ADebug.h>
#include <media/stagefright/HardwareAPI.h>
-#include <media/stagefright/MediaDebug.h>
#include <media/stagefright/MediaErrors.h>
namespace android {
@@ -91,11 +91,11 @@ OMXNodeInstance::OMXNodeInstance(
}
OMXNodeInstance::~OMXNodeInstance() {
- CHECK_EQ(mHandle, NULL);
+ CHECK(mHandle == NULL);
}
void OMXNodeInstance::setHandle(OMX::node_id node_id, OMX_HANDLETYPE handle) {
- CHECK_EQ(mHandle, NULL);
+ CHECK(mHandle == NULL);
mNodeID = node_id;
mHandle = handle;
}