From 296d36e8a5b9b00f9ec274dbb3a8785b52dfcff9 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Tue, 1 Oct 2019 17:21:56 +0900 Subject: [PATCH] Change MS_MEDIA_ERR_INVALID_PATH to MS_MEDIA_ERR_INVALID_PARAMETER Change-Id: Ie76f64f661aca4fa11a244d51e3b328c06e7d99c Signed-off-by: Minje Ahn --- src/media_content.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/media_content.c b/src/media_content.c index 18bc11f..c0bd0b7 100644 --- a/src/media_content.c +++ b/src/media_content.c @@ -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) -- 2.7.4