/* Internal operation error*/
else if ((content_error == MS_MEDIA_ERR_INVALID_PARAMETER) ||
- (content_error == MS_MEDIA_ERR_INVALID_PATH) ||
- (content_error == MS_MEDIA_ERR_THUMB_DUPLICATED_REQUEST))
+ (content_error == MS_MEDIA_ERR_INVALID_PATH))
return MEDIA_CONTENT_ERROR_INVALID_PARAMETER;
else if (content_error == MS_MEDIA_ERR_OUT_OF_MEMORY)
return MEDIA_CONTENT_ERROR_DB_FAILED;
/* IPC operation error*/
- else if ((content_error <= MS_MEDIA_ERR_SOCKET_CONN) && (content_error >= MS_MEDIA_ERR_SOCKET_INTERNAL))
+ else if (content_error == MS_MEDIA_ERR_IPC)
return MEDIA_CONTENT_ERROR_NETWORK;
/* MEDIA SERVER error*/