Fix typo 01/169001/1 accepted/tizen/unified/20180202.061005 submit/tizen/20180202.000421
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 1 Feb 2018 23:41:29 +0000 (08:41 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 1 Feb 2018 23:41:29 +0000 (08:41 +0900)
Change-Id: I92886d9a73e2fc89076604d8fa56a54a6e70df3f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
magick/include/mm_util_magick.h
magick/mm_util_info.c

index dd5d58c7b043b2d35cde06564f038f8280ad97ea..6e47c0bbdf4d7e1426510ec7da6ebf7160d32631 100755 (executable)
@@ -67,7 +67,7 @@ typedef enum {
        IMG_CODEC_AGIF                                          = (1 << 6),
        IMG_CODEC_PROGRESSIVE_JPEG              = (1 << 7),
        IMG_CODEC_DRM                                   = (1 << 8),
-} mm_util_img_code_type;
+} mm_util_img_codec_type;
 
 int mm_util_create_handle(mm_util_image_h *handle, const unsigned char *buffer, unsigned int width, unsigned int height, size_t size, mm_util_magick_format format);
 
@@ -87,6 +87,6 @@ int mm_util_resize_P_P(const char *src_path, unsigned int req_width, unsigned in
 
 int mm_util_convert_B_B(mm_util_image_h src_handle, mm_util_magick_format req_format, mm_util_image_h *dst_handle);
 
-int mm_util_extract_image_info(const char *path, mm_util_img_code_type *type, unsigned int *width, unsigned int *height);
+int mm_util_extract_image_info(const char *path, mm_util_img_codec_type *type, unsigned int *width, unsigned int *height);
 
 #endif /*__MM_UTILITY_MAGICK_H__*/
index f9de67f02edb84b8077a2e448716b80fff5c130c..8abd67198b0dfb66a911c071f4aed2295d7ae6e4 100755 (executable)
@@ -105,7 +105,7 @@ static unsigned int _IfegReadUINT(unsigned char *pBuffer)
         return (((*pBuffer) << 24) | ((*(pBuffer + 1)) << 16) | ((*(pBuffer + 2)) << 8) | (*(pBuffer + 3)));
 }
 
-static int _ImgGetImageInfo(FILE *hFile, unsigned long fileSize, char *fileExt, mm_util_img_code_type *type, unsigned int *width, unsigned int *height)
+static int _ImgGetImageInfo(FILE *hFile, unsigned long fileSize, char *fileExt, mm_util_img_codec_type *type, unsigned int *width, unsigned int *height)
 {
         unsigned int fileleft;
         unsigned long fileread;
@@ -493,7 +493,7 @@ static int _ImgGetFileExt(const char *path, char *file_ext, int max_len)
         return MM_UTIL_ERROR_INVALID_PARAMETER;
 }
 
-int mm_util_extract_image_info(const char *path, mm_util_img_code_type *type, unsigned int *width, unsigned int *height)
+int mm_util_extract_image_info(const char *path, mm_util_img_codec_type *type, unsigned int *width, unsigned int *height)
 {
         FILE *hFile;
         unsigned long file_size = 0;