Change-Id: I98542505dc1c61283b18f18711ed02f88aeb8660
Name: capi-media-thumbnail-util
Summary: A media thumbnail util library in Tizen Native API
-Version: 0.1.10
+Version: 0.1.11
Release: 1
Group: Multimedia/API
License: Apache-2.0
int ret = THUMBNAIL_UTIL_ERROR_NONE;
char *old_path = NULL;
+ if (!STRING_VALID(path)) {
+ thumbnail_util_error("Invalid path");
+ return THUMBNAIL_UTIL_ERROR_INVALID_PARAMETER;
+ }
+
ret = storage_get_root_directory(STORAGE_TYPE_INTERNAL, &old_path);
if (ret != STORAGE_ERROR_NONE) {
thumbnail_util_error("storage_get_directory failed");