Move away from MediaDebug and use ADebug instead
Change-Id: Id904857259a5de0b77f09716315ceb8f665af4e0
This commit is contained in:
@@ -17,6 +17,10 @@ LOCAL_SRC_FILES:= \
|
||||
WVMMediaSource.cpp \
|
||||
WVMInfoListener.cpp
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libstagefright \
|
||||
libstagefright_foundation
|
||||
|
||||
LOCAL_MODULE := libwvmcommon
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "WVMFileSource.h"
|
||||
#include "media/stagefright/MediaErrors.h"
|
||||
#include "media/stagefright/MediaDefs.h"
|
||||
#include "media/stagefright/MediaDebug.h"
|
||||
|
||||
namespace android {
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
#include "WVMFileSource.h"
|
||||
#include "WVMExtractorImpl.h"
|
||||
#include "WVMErrorCodes.h"
|
||||
#include "media/stagefright/foundation/ADebug.h"
|
||||
#include "media/stagefright/MediaErrors.h"
|
||||
#include "media/stagefright/MediaDefs.h"
|
||||
#include "media/stagefright/MediaDebug.h"
|
||||
#include "AndroidHooks.h"
|
||||
|
||||
namespace android {
|
||||
@@ -235,7 +235,7 @@ status_t WVMMediaSource::read(MediaBuffer **buffer, const ReadOptions *options)
|
||||
status_t err = mGroup->acquire_buffer(&mediaBuf);
|
||||
|
||||
if (err != OK) {
|
||||
CHECK_EQ(mediaBuf, NULL);
|
||||
CHECK(mediaBuf == NULL);
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#include <media/stagefright/MetaData.h>
|
||||
#include <media/stagefright/MediaErrors.h>
|
||||
#include <media/stagefright/MediaBuffer.h>
|
||||
#include <media/stagefright/MediaDebug.h>
|
||||
|
||||
using namespace android;
|
||||
using namespace std;
|
||||
|
||||
Reference in New Issue
Block a user