diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/include/util/media-thumb-debug.h | 2 | ||||
-rwxr-xr-x | src/ipc/media-thumb-ipc.c | 4 | ||||
-rwxr-xr-x | src/media-thumb-internal.c | 2 | ||||
-rwxr-xr-x | src/media-thumbnail.c | 4 | ||||
-rwxr-xr-x | src/util/media-thumb-debug.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/src/include/util/media-thumb-debug.h b/src/include/util/media-thumb-debug.h index 9cfbe2d..83333fa 100755 --- a/src/include/util/media-thumb-debug.h +++ b/src/include/util/media-thumb-debug.h @@ -83,7 +83,7 @@ } while (0) #define thumb_retv_if(expr, val) do { \ if (expr) { \ - LOGE(FONT_COLOR_RED""FONT_COLOR_RESET); \ + LOGE(FONT_COLOR_RED""FONT_COLOR_RESET); \ return (val); \ } \ } while (0) diff --git a/src/ipc/media-thumb-ipc.c b/src/ipc/media-thumb-ipc.c index 46f7ae8..3e8ccec 100755 --- a/src/ipc/media-thumb-ipc.c +++ b/src/ipc/media-thumb-ipc.c @@ -754,7 +754,7 @@ int _media_thumb_request_async(int msg_type, unsigned int request_id, const char thumb_req->path = g_strdup(origin_path); thumb_req->userData = userData; thumb_req->isCanceled = false; - thumb_req->isRequested= false; + thumb_req->isRequested = false; thumb_req->request_id = request_id; thumb_req->uid = uid; @@ -792,7 +792,7 @@ int _media_thumb_request_raw_data_async(int msg_type, int request_id, const char thumb_req->height = height; thumb_req->userData = userData; thumb_req->isCanceled = false; - thumb_req->isRequested= false; + thumb_req->isRequested = false; thumb_req->uid = uid; len = g_queue_get_length(g_manage_raw_queue); diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c index ef0f51d..c6c4a57 100755 --- a/src/media-thumb-internal.c +++ b/src/media-thumb-internal.c @@ -1201,7 +1201,7 @@ int _media_thumb_get_hash_name(const char *file_full_path, char *thumb_hash_path _media_thumb_get_file_ext(file_full_path, file_ext, sizeof(file_ext)); ret = ms_user_get_storage_type(uid, file_full_path, &storage_type); - if((ret != MS_MEDIA_ERR_NONE) || ((storage_type != MS_USER_STORAGE_INTERNAL) && (storage_type != MS_USER_STORAGE_EXTERNAL))) { + if ((ret != MS_MEDIA_ERR_NONE) || ((storage_type != MS_USER_STORAGE_INTERNAL) && (storage_type != MS_USER_STORAGE_EXTERNAL))) { thumb_err_slog("origin path(%s) is invalid. err : [%d] storage_type [%d]", file_full_path, ret, storage_type); return MS_MEDIA_ERR_INVALID_PARAMETER; } diff --git a/src/media-thumbnail.c b/src/media-thumbnail.c index 8a4645f..2fb3065 100755 --- a/src/media-thumbnail.c +++ b/src/media-thumbnail.c @@ -49,7 +49,7 @@ int thumbnail_request_from_db(const char *origin_path, char *thumb_path, int max ms_user_storage_type_e store_type = -1; err = ms_user_get_storage_type(uid, origin_path, &store_type); - if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) { + if ((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) { thumb_err_slog("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type); return MS_MEDIA_ERR_INVALID_PARAMETER; } @@ -83,7 +83,7 @@ int thumbnail_request_from_db_async(unsigned int request_id, const char *origin_ ms_user_storage_type_e store_type = -1; err = ms_user_get_storage_type(uid, origin_path, &store_type); - if((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) { + if ((err != MS_MEDIA_ERR_NONE) || ((store_type != MS_USER_STORAGE_INTERNAL) && (store_type != MS_USER_STORAGE_EXTERNAL))) { thumb_err_slog("origin path(%s) is invalid. err : [%d] store_type [%d]", origin_path, err, store_type); return MS_MEDIA_ERR_INVALID_PARAMETER; } diff --git a/src/util/media-thumb-debug.c b/src/util/media-thumb-debug.c index f293afd..33d33af 100755 --- a/src/util/media-thumb-debug.c +++ b/src/util/media-thumb-debug.c @@ -105,4 +105,4 @@ thumb_print_debug_time_ex(long start, long end, const char *func_name, char *tim thumb_dbg("time [%s: %s] : %f", func_name, time_string, totaltime); #endif } -#endif
\ No newline at end of file +#endif |