summaryrefslogtreecommitdiffstats
path: root/libcamera
diff options
context:
space:
mode:
authorkyoungho.yun <kyoungho.yun@samsung.com>2011-08-11 15:17:10 +0900
committerWu-cheng Li <wuchengli@google.com>2011-08-11 15:14:27 +0800
commite03c4ab143a423c22113f842b35ac66a90abdbff (patch)
treefe7fd8bef3aae901a8baf536319858351ed76fad /libcamera
parent4f57ef990acdf61939c6da9ac7265363795d9b24 (diff)
downloaddevice_samsung_crespo-e03c4ab143a423c22113f842b35ac66a90abdbff.zip
device_samsung_crespo-e03c4ab143a423c22113f842b35ac66a90abdbff.tar.gz
device_samsung_crespo-e03c4ab143a423c22113f842b35ac66a90abdbff.tar.bz2
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 <kyoungho.yun@samsung.com> bug:5032708 Change-Id: I8e07dc6252a4a959a9319eda402f14ff892a5467
Diffstat (limited to 'libcamera')
-rwxr-xr-xlibcamera/SecCamera.cpp2
1 files changed, 1 insertions, 1 deletions
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);