Rename refactoring jpeg function 33/172433/2 accepted/tizen/unified/20180315.061342 submit/tizen/20180314.004633
authorJiyong Min <jiyong.min@samsung.com>
Wed, 14 Mar 2018 03:12:22 +0000 (12:12 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Wed, 14 Mar 2018 03:14:48 +0000 (12:14 +0900)
Change-Id: I84cf8c2ba581afa24c8275702d31d34516e318bb

src/image_util_encode.c

index daa3683..51326c4 100755 (executable)
@@ -403,7 +403,7 @@ static int _image_util_encode_internal(decode_encode_s * _handle)
                        if (_handle->path)
                                err = mm_util_jpeg_encode_to_file(jpeg_data, _handle->quality, _handle->path);
                        else
-                               err = mm_util_jpeg_encode_to_memory(jpeg_data, _handle->quality, _handle->dst_buffer, &size);
+                               err = mm_util_encode_to_jpeg_memory(jpeg_data, _handle->quality, _handle->dst_buffer, &size);
 
                        if (err == MM_UTIL_ERROR_NONE)
                                _handle->dst_size = (unsigned long long)size;