diff options
author | Tyler Luu <tluu@ti.com> | 2011-10-26 14:36:13 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-10-26 14:36:13 +0000 |
commit | 9445cf8148dfab6908871718f7a49aa9dbb37fd9 (patch) | |
tree | 6cd8b95598826c8ed3689eee90ed2783588e4bf1 /camera | |
parent | 7444221b0a7fe44288b7090fa0586cd43d43613c (diff) | |
parent | fac6d88a15b2e4ff329da2c66ba54837361ddc10 (diff) | |
download | hardware_ti_omap4xxx-9445cf8148dfab6908871718f7a49aa9dbb37fd9.zip hardware_ti_omap4xxx-9445cf8148dfab6908871718f7a49aa9dbb37fd9.tar.gz hardware_ti_omap4xxx-9445cf8148dfab6908871718f7a49aa9dbb37fd9.tar.bz2 |
am fac6d88a: Fix garbled characters at the end of Exif Make/Model
* commit 'fac6d88a15b2e4ff329da2c66ba54837361ddc10':
Fix garbled characters at the end of Exif Make/Model
Diffstat (limited to 'camera')
-rwxr-xr-x | camera/OMXCameraAdapter/OMXExif.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camera/OMXCameraAdapter/OMXExif.cpp b/camera/OMXCameraAdapter/OMXExif.cpp index 1caeba9..9744cf4 100755 --- a/camera/OMXCameraAdapter/OMXExif.cpp +++ b/camera/OMXCameraAdapter/OMXExif.cpp @@ -297,8 +297,8 @@ status_t OMXCameraAdapter::setupEXIF() EXIF_MODEL_SIZE - 1); exifTags->pModelBuff = ( OMX_S8 * ) ( sharedPtr - sharedBuffer.pSharedBuff ); + exifTags->ulModelBuffSizeBytes = strlen((char*)sharedPtr) + 1; sharedPtr += EXIF_MODEL_SIZE; - exifTags->ulModelBuffSizeBytes = EXIF_MODEL_SIZE; exifTags->eStatusModel = OMX_TI_TagUpdated; } @@ -310,8 +310,8 @@ status_t OMXCameraAdapter::setupEXIF() EXIF_MAKE_SIZE - 1); exifTags->pMakeBuff = ( OMX_S8 * ) ( sharedPtr - sharedBuffer.pSharedBuff ); + exifTags->ulMakeBuffSizeBytes = strlen((char*)sharedPtr) + 1; sharedPtr += EXIF_MAKE_SIZE; - exifTags->ulMakeBuffSizeBytes = EXIF_MAKE_SIZE; exifTags->eStatusMake = OMX_TI_TagUpdated; } |