Apply tizen coding rule 69/50869/1 accepted/tizen/mobile/20151103.105440 accepted/tizen/tv/20151103.105452 accepted/tizen/wearable/20151103.105503 submit/tizen/20151103.065424
authorHaejeong, Kim <backto.kim@samsung.com>
Tue, 3 Nov 2015 05:58:39 +0000 (14:58 +0900)
committerHaejeong, Kim <backto.kim@samsung.com>
Tue, 3 Nov 2015 05:58:39 +0000 (14:58 +0900)
Change-Id: Ia1f5dafc99eec2aea72ab4d7ebf7561f41061457

src/common/media-svc-util.c
src/common/media-svc.c

index 59658c8..404009d 100755 (executable)
@@ -633,7 +633,7 @@ static int __media_svc_resize_artwork(void *image, int size, const char *img_for
                        resized_width = width * MEDIA_SVC_ARTWORK_SIZE / height;
                } else {
                        resized_width = MEDIA_SVC_ARTWORK_SIZE;
-                       resized_height =height * MEDIA_SVC_ARTWORK_SIZE / width;
+                       resized_height = height * MEDIA_SVC_ARTWORK_SIZE / width;
                }
 
                image_util_calculate_buffer_size(resized_width, resized_height, IMAGE_UTIL_COLORSPACE_RGB888 , &buf_size);
index e137a9e..37c8936 100755 (executable)
@@ -229,7 +229,7 @@ int media_svc_create_table(MediaSvcHandle *handle, uid_t uid)
        media_svc_debug_fleave();
 
        return MS_MEDIA_ERR_NONE;
-ERROR :
+ERROR:
        _media_svc_destroy_table_query();
 
        media_svc_debug_fleave();