From: hj kim Date: Wed, 13 Mar 2019 08:26:44 +0000 (+0900) Subject: Change 'unsigned char*' to 'const unsigned char *' for inpu data X-Git-Tag: submit/tizen/20190313.075153~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F201371%2F1;p=platform%2Fcore%2Fmultimedia%2Flibmm-utility.git Change 'unsigned char*' to 'const unsigned char *' for inpu data Change-Id: I249bfbe41efdbb46c96409763ea16f623c4a0681 --- diff --git a/common/include/mm_util_image.h b/common/include/mm_util_image.h old mode 100644 new mode 100755 index 9c683f6..be668f1 --- a/common/include/mm_util_image.h +++ b/common/include/mm_util_image.h @@ -28,7 +28,7 @@ gboolean mm_image_is_valid_image(mm_util_image_h image); void mm_image_debug_image(mm_util_image_h image, const char *message); int mm_image_create_image(unsigned int width, unsigned int height, - mm_util_color_format_e color, unsigned char *data, size_t size, + mm_util_color_format_e color, const unsigned char *data, size_t size, mm_util_image_h *image); int mm_image_set_delay_time(mm_util_image_h image, unsigned int delay_time); diff --git a/common/mm_util_image.c b/common/mm_util_image.c old mode 100644 new mode 100755 index e66253a..f1f2e69 --- a/common/mm_util_image.c +++ b/common/mm_util_image.c @@ -46,7 +46,7 @@ void mm_image_debug_image(mm_util_image_h image, const char *message) } int mm_image_create_image(unsigned int width, unsigned int height, - mm_util_color_format_e color, unsigned char *data, size_t size, + mm_util_color_format_e color, const unsigned char *data, size_t size, mm_util_image_h *image) { mm_image_info_s *_image = NULL;