From 3fdff5cc8c26798af70c4c97f34d8cbbc080b0d2 Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Thu, 27 Jul 2017 15:26:24 +0900 Subject: [PATCH] Remove build warning [Version] 0.10.130 [Profile] Common [Issue Type] Bug fix [Dependency module] N/A Change-Id: I7b07435e34a6164fb63db16b8384730215b3e88d Signed-off-by: Jeongmo Yang --- packaging/libmm-camcorder.spec | 2 +- src/mm_camcorder_util.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index aaf03ca..41ea26f 100644 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,6 +1,6 @@ Name: libmm-camcorder Summary: Camera and recorder library -Version: 0.10.129 +Version: 0.10.130 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 diff --git a/src/mm_camcorder_util.c b/src/mm_camcorder_util.c index 77f3a43..8fec320 100644 --- a/src/mm_camcorder_util.c +++ b/src/mm_camcorder_util.c @@ -1862,7 +1862,7 @@ gboolean _mmcamcorder_encode_jpeg(void *src_data, unsigned int src_width, unsign return FALSE; } - ret = mm_util_jpeg_encode_to_memory(result_data, (int *)result_length, + ret = mm_util_jpeg_encode_to_memory(result_data, result_length, converted_src, src_width, src_height, jpeg_format, jpeg_quality); if (converted_src && (converted_src != src_data)) { -- 2.7.4