return MS_MEDIA_ERR_NONE;
}
-int _media_thumb_get_proper_thumb_size(int orig_w, int orig_h,
- int *thumb_w, int *thumb_h)
+int _media_thumb_get_proper_thumb_size(int orig_w, int orig_h, int *thumb_w, int *thumb_h)
{
BOOL portrait = FALSE;
double ratio;
return MS_MEDIA_ERR_INTERNAL;
}
- if (store_type == MS_USER_STORAGE_INTERNAL) {
- ret = ms_user_get_default_thumb_store_path(uid, &get_path);
- if (get_path != NULL)
- ret_len = snprintf(thumb_hash_path, max_thumb_path - 1, "%s/.%s-%s.jpg", get_path, file_ext, hash_name);
- } else if (store_type == MS_USER_STORAGE_EXTERNAL) {
+ if (store_type == MS_USER_STORAGE_EXTERNAL) {
ret = ms_user_get_mmc_thumb_store_path(uid, &get_path);
if (get_path != NULL)
ret_len = snprintf(thumb_hash_path, max_thumb_path - 1, "%s/.%s-%s.jpg", get_path, file_ext, hash_name);