summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2021-05-18 13:26:50 +0900
committerMinje Ahn <minje.ahn@samsung.com>2021-05-18 13:50:06 +0900
commit3ab54f0c8dca0242bdfc0264ca9ee2af6b35631d (patch)
treed36507d73b4546f6d15d626ce1b46d02354d7024
parented88ae5e86ceff6f801c3e33e201b0cf343de6b2 (diff)
downloadlibmedia-thumbnail-tizen_6.5.tar.gz
libmedia-thumbnail-tizen_6.5.tar.bz2
libmedia-thumbnail-tizen_6.5.zip
Change-Id: I5c1069f86a2f352e67191defaa2fb9e6504629a8 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
-rwxr-xr-xsrc/media-thumbnail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c
index d51a280..e241509 100755
--- a/src/media-thumbnail.c
+++ b/src/media-thumbnail.c
@@ -372,7 +372,7 @@ static int __check_thumb_path_validity(const char *path)
char *dir_name = NULL;
int ret = MS_MEDIA_ERR_NONE;
- thumb_retvm_if(!path, MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path");
+ thumb_retvm_if(!STRING_VALID(path), MS_MEDIA_ERR_INVALID_PARAMETER, "Invalid path");
dir_name = g_path_get_dirname(path);