Moved ALOGE and android_errorWriteLog calls under #ifdef __ANDROID__
Also added shared library liblog to test\decoder.mk Change-Id: If7793f849522dd3f93a5177bab91f4ea5ada41ad
This commit is contained in:
parent
dbcbd3567f
commit
c59cd5d2be
2 changed files with 5 additions and 2 deletions
|
|
@ -17,9 +17,10 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
* Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
|
* Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
|
||||||
*/
|
*/
|
||||||
|
#ifdef __ANDROID__
|
||||||
#include "log/log.h"
|
#include "log/log.h"
|
||||||
#include <cutils/log.h>
|
#include <cutils/log.h>
|
||||||
|
#endif
|
||||||
#include "ih264_typedefs.h"
|
#include "ih264_typedefs.h"
|
||||||
#include "ih264_macros.h"
|
#include "ih264_macros.h"
|
||||||
#include "ih264_platform_macros.h"
|
#include "ih264_platform_macros.h"
|
||||||
|
|
@ -877,8 +878,10 @@ WORD32 ih264d_read_mmco_commands(struct _DecStruct * ps_dec)
|
||||||
{
|
{
|
||||||
if (j >= MAX_REF_BUFS)
|
if (j >= MAX_REF_BUFS)
|
||||||
{
|
{
|
||||||
|
#ifdef __ANDROID__
|
||||||
ALOGE("b/25818142");
|
ALOGE("b/25818142");
|
||||||
android_errorWriteLog(0x534e4554, "25818142");
|
android_errorWriteLog(0x534e4554, "25818142");
|
||||||
|
#endif
|
||||||
ps_dpb_cmds->u1_num_of_commands = 0;
|
ps_dpb_cmds->u1_num_of_commands = 0;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,5 @@ LOCAL_CFLAGS := -DPROFILE_ENABLE -DARM -DMD5_DISABLE -fPIC
|
||||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../decoder $(LOCAL_PATH)/../common $(LOCAL_PATH)/decoder/
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../decoder $(LOCAL_PATH)/../common $(LOCAL_PATH)/decoder/
|
||||||
LOCAL_SRC_FILES := decoder/main.c
|
LOCAL_SRC_FILES := decoder/main.c
|
||||||
LOCAL_STATIC_LIBRARIES := libavcdec
|
LOCAL_STATIC_LIBRARIES := libavcdec
|
||||||
|
LOCAL_SHARED_LIBRARIES := liblog
|
||||||
include $(BUILD_EXECUTABLE)
|
include $(BUILD_EXECUTABLE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue