player_h h_player_handle = NULL;
int ret = PLAYER_ERROR_NONE;
- if (data == NULL) {
- err("Handle = NULL, returning");
- return;
- }
-
h_player_handle = (player_h)data;
/* Start the player */
int _callmgr_vr_deinit(callmgr_vr_handle_h vr_handle)
{
CM_RETURN_VAL_IF_FAIL(vr_handle, -1);
- if (vr_handle == NULL) {
- err("vr_handle is NULL");
- return -1;
- } else {
- if (vr_handle->recorder_handle != NULL) {
- __callmgr_vr_destroy(vr_handle);
- }
+ if (vr_handle->recorder_handle != NULL) {
+ __callmgr_vr_destroy(vr_handle);
}
g_free(vr_handle);
if (ret == MEDIA_CONTENT_ERROR_NONE) {
#if 0 /*remove media product header*/
ret = media_cloud_info_insert_to_db_without_info(full_path, MEDIA_CONTENT_STORAGE_ANSWERMEMO_EX, &info);
-#endif
if (ret == MEDIA_CONTENT_ERROR_NONE) {
+#endif
result = 0;
ret = media_info_set_display_name(info, vr_handle->disp_name);
err("media_info_update_to_db().. [%d]", ret);
result = -1;
}
+#if 0 /*remove media product header*/
} else {
err("media_cloud_info_insert_to_db_without_info().. [%d]", ret);
result = -1;
}
+#endif
/* info can't be true due to media_cloud_info_insert_to_db_without_info blocked*/
/*if (info) {*/
media_info_destroy(info);