Change-Id: Ia1f5dafc99eec2aea72ab4d7ebf7561f41061457
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);
media_svc_debug_fleave();
return MS_MEDIA_ERR_NONE;
-ERROR :
+ERROR:
_media_svc_destroy_table_query();
media_svc_debug_fleave();