From: Haejeong, Kim Date: Tue, 17 Nov 2015 05:03:46 +0000 (+0900) Subject: Apply tizen coding rule X-Git-Tag: accepted/tizen/mobile/20151117.093931^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=375e3eadc0152258409c8913ba2d280e321d0fa1;p=platform%2Fcore%2Fmultimedia%2Flibmedia-service.git Apply tizen coding rule Change-Id: I002f425aa84d1504a34405a3fb298ee2c82dca38 --- diff --git a/src/common/media-svc-db-utils.c b/src/common/media-svc-db-utils.c index 0cdacd8..2880f36 100755 --- a/src/common/media-svc-db-utils.c +++ b/src/common/media-svc-db-utils.c @@ -1299,7 +1299,7 @@ int _media_svc_sql_query_list(sqlite3 *handle, GList **query_list, uid_t uid) char *sql = NULL; char query_bundle[8000] = {0, }; int query_len = 0; - int total_len =0; + int total_len = 0; media_svc_debug("query list length : [%d]", length); diff --git a/src/common/media-svc-util.c b/src/common/media-svc-util.c index b318ae9..a134c58 100755 --- a/src/common/media-svc-util.c +++ b/src/common/media-svc-util.c @@ -648,7 +648,7 @@ static int __media_svc_resize_artwork(void *image, int size, const char *img_for SAFE_FREE(raw_image); /* encoding */ - ret = image_util_encode_jpeg_to_memory(resized_raw_image, resized_width, resized_height, IMAGE_UTIL_COLORSPACE_RGB888, 90, resize_image, resize_size); + ret = image_util_encode_jpeg_to_memory(resized_raw_image, resized_width, resized_height, IMAGE_UTIL_COLORSPACE_RGB888, 90, resize_image, resize_size); if (ret != MS_MEDIA_ERR_NONE) { media_svc_error("image_util_encode_jpeg_to_memory failed"); *resize_image = image; @@ -1484,7 +1484,7 @@ int _media_svc_extract_music_metadata_for_update(sqlite3 *handle, media_svc_cont } mmf_error = mm_file_get_attrs(tag, &err_attr_name, MM_FILE_TAG_TITLE, &p, &size, NULL); - if ((!(extracted_field & MEDIA_SVC_EXTRACTED_FIELD_TITLE)) && (mmf_error == FILEINFO_ERROR_NONE) && (size > 0)/* && (!isspace(*p))*/) { + if ((!(extracted_field & MEDIA_SVC_EXTRACTED_FIELD_TITLE)) && (mmf_error == FILEINFO_ERROR_NONE) && (size > 0)/* && (!isspace(*p))*/) { if (!isspace(*p)) { ret = __media_svc_malloc_and_strncpy(&content_info->media_meta.title, p); if (ret != MS_MEDIA_ERR_NONE) @@ -1669,7 +1669,7 @@ int _media_svc_extract_media_metadata(sqlite3 *handle, media_svc_content_info_s } mmf_error = mm_file_get_attrs(tag, &err_attr_name, MM_FILE_TAG_TITLE, &p, &size, NULL); - if ((!(extracted_field & MEDIA_SVC_EXTRACTED_FIELD_TITLE)) && (mmf_error == FILEINFO_ERROR_NONE) && (size > 0)/* && (!isspace(*p))*/) { + if ((!(extracted_field & MEDIA_SVC_EXTRACTED_FIELD_TITLE)) && (mmf_error == FILEINFO_ERROR_NONE) && (size > 0)/* && (!isspace(*p))*/) { if (!isspace(*p)) { ret = __media_svc_malloc_and_strncpy(&content_info->media_meta.title, p); if (ret != MS_MEDIA_ERR_NONE)