- MMPLAYER_RETURN_VAL_IF_FAIL(pos, MM_ERROR_COMMON_INVALID_ARGUMENT);
-
- if (format >= MM_PLAYER_POS_FORMAT_NUM)
- {
- LOGE("wrong format\n");
- return MM_ERROR_COMMON_INVALID_ARGUMENT;
- }
-
- MMPLAYER_CMD_LOCK( player );
-
- result = _mmplayer_get_position(player, (int)format, pos);