Change MS_MEDIA_ERR_INVALID_PATH to MS_MEDIA_ERR_INVALID_PARAMETER 68/215068/1 accepted/tizen/unified/20191004.003549 submit/tizen/20191002.013808
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 1 Oct 2019 08:21:56 +0000 (17:21 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Tue, 1 Oct 2019 08:21:56 +0000 (17:21 +0900)
Change-Id: Ie76f64f661aca4fa11a244d51e3b328c06e7d99c
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/media_content.c

index 18bc11f..c0bd0b7 100644 (file)
@@ -146,8 +146,7 @@ int _content_error_capi(int content_error)
                return MEDIA_CONTENT_ERROR_NONE;
 
        /* Internal operation error*/
-       else if ((content_error == MS_MEDIA_ERR_INVALID_PARAMETER) ||
-               (content_error == MS_MEDIA_ERR_INVALID_PATH))
+       else if (content_error == MS_MEDIA_ERR_INVALID_PARAMETER)
                return MEDIA_CONTENT_ERROR_INVALID_PARAMETER;
 
        else if (content_error == MS_MEDIA_ERR_OUT_OF_MEMORY)