Fix returning the wrong format of a image from 'mm_util_convert_B_B()' function 15/228415/1 accepted/tizen/5.5/unified/20200324.134352 submit/tizen_5.5/20200324.032216
authorjiyong.min <jiyong.min@samsung.com>
Mon, 23 Mar 2020 03:19:18 +0000 (12:19 +0900)
committerjiyong.min <jiyong.min@samsung.com>
Mon, 23 Mar 2020 03:22:20 +0000 (12:22 +0900)
Change-Id: I3813787348376a7bb8c56044f27142696658f0c7

magick/mm_util_magick.c
packaging/libmm-utility.spec

index 7f5df56a059c663d861df1154f876a4595637649..42363f09d6e452608325d944d8423344a9eec31f 100644 (file)
@@ -838,7 +838,7 @@ int mm_util_convert_B_B(mm_util_image_h src_handle, mm_util_color_format_e req_f
                goto ERROR;
        }
 
-       ret = mm_image_create_image(_image->columns, _image->rows, _src_handle->color, pixels, pixels_size, dst_handle);
+       ret = mm_image_create_image(_image->columns, _image->rows, req_format, pixels, pixels_size, dst_handle);
        if (ret != MM_UTIL_ERROR_NONE)
                mm_util_error("Error: mm_image_create_image failed.");
 
index e6bcfa12fe34ec7d9b58383e1f169670e6795d37..766f2a57ccdb38d20ecf11ef079049ed11e5b4cb 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       libmm-utility
 Summary:    Multimedia Framework Utility Library
-Version:    0.1.35
+Version:    0.1.36
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0