diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-08-11 01:03:33 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-11 01:03:33 -0700 |
commit | f051b6d2e16a51d2cc560d5304af9b7751728e40 (patch) | |
tree | 5e248eb6e087ddb455b7693af298051f9659a57f /libcamera | |
parent | f0b421640f21bf19f5c5a8b842c4b8712787551a (diff) | |
parent | e03c4ab143a423c22113f842b35ac66a90abdbff (diff) | |
download | device_samsung_crespo-f051b6d2e16a51d2cc560d5304af9b7751728e40.zip device_samsung_crespo-f051b6d2e16a51d2cc560d5304af9b7751728e40.tar.gz device_samsung_crespo-f051b6d2e16a51d2cc560d5304af9b7751728e40.tar.bz2 |
Merge "5PC11X: CAMERA: Fix issue 5032708 - Native crash"
Diffstat (limited to 'libcamera')
-rwxr-xr-x | libcamera/SecCamera.cpp | 2 |
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); |