From e03c4ab143a423c22113f842b35ac66a90abdbff Mon Sep 17 00:00:00 2001 From: "kyoungho.yun" Date: Thu, 11 Aug 2011 15:17:10 +0900 Subject: 5PC11X: CAMERA: Fix issue 5032708 - Native crash Fix Native crash observed in Camera app while taking pictures There are no need to make exif information in encode func. Because we make exif in getExif func. Signed-off-by: kyoungho.yun bug:5032708 Change-Id: I8e07dc6252a4a959a9319eda402f14ff892a5467 --- libcamera/SecCamera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcamera') diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp index e28640d..48cf02e 100755 --- a/libcamera/SecCamera.cpp +++ b/libcamera/SecCamera.cpp @@ -1427,7 +1427,7 @@ int SecCamera::getSnapshotAndJpeg(unsigned char *yuv_buf, unsigned char *jpeg_bu memcpy(pInBuf, yuv_buf, snapshot_size); setExifChangedAttribute(); - jpgEnc.encode(output_size, &mExifInfo); + jpgEnc.encode(output_size, NULL); uint64_t outbuf_size; unsigned char *pOutBuf = (unsigned char *)jpgEnc.getOutBuf(&outbuf_size); -- cgit v1.1