Change-Id: Ifb163fd87fc1cd79038d14d5b1ca2dc283ea2aa6
#define PLAYER_CHECK_CONDITION(condition, error, msg) \
do { \
if (condition) {} else \
- { LOGE("[%s] %s(0x%08x)", __FUNCTION__, msg, error); return error; }; \
+ { LOGE("[%s] %s(0x%08x)", __FUNCTION__, msg, error); return error; } \
} while (0)
#define PLAYER_INSTANCE_CHECK(player) \
Name: capi-media-player
Summary: A Media Player API
-Version: 0.3.61
+Version: 0.3.62
Release: 0
Group: Multimedia/API
License: Apache-2.0
memset(buff->recvMsg, 0x00, sizeof(char)*buff->bufLen);
recvLen = muse_core_ipc_recv_fd_msg(cb_info->fd, buff->recvMsg, tfd);
+ if (recvLen <= 0) {
+ LOGE("failed to recv msg %d", recvLen);
+ return 0;
+ }
/* check the first msg */
if (buff->part_of_msg && buff->recvMsg[0] != '{')