diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2020-03-05 00:07:26 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-03-05 00:07:26 +0000 |
commit | 7a669c97e60baff3e3bf0e9207b13540f89567ed (patch) | |
tree | 392a2735d6cbb17c75369c8f740b42b6b0c685b4 | |
parent | 0a9b94423698b0399fa3a79971078d8a2ffe9773 (diff) | |
parent | f4481c4d980e5a8c62c2d1351efc2ee89d492190 (diff) | |
download | android_hardware_interfaces-7a669c97e60baff3e3bf0e9207b13540f89567ed.tar.gz android_hardware_interfaces-7a669c97e60baff3e3bf0e9207b13540f89567ed.tar.bz2 android_hardware_interfaces-7a669c97e60baff3e3bf0e9207b13540f89567ed.zip |
Snap for 6263357 from f4481c4d980e5a8c62c2d1351efc2ee89d492190 to qt-qpr3-release
Change-Id: I9eb297d6c529c4ee939238b0e885825eb47a1368
-rw-r--r-- | camera/common/1.0/default/Exif.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camera/common/1.0/default/Exif.cpp b/camera/common/1.0/default/Exif.cpp index 4de05c5de..413b6bb97 100644 --- a/camera/common/1.0/default/Exif.cpp +++ b/camera/common/1.0/default/Exif.cpp @@ -632,13 +632,13 @@ bool ExifUtilsImpl::setGpsTimestamp(const struct tm& t) { } bool ExifUtilsImpl::setImageHeight(uint32_t length) { - SET_LONG(EXIF_IFD_0, EXIF_TAG_IMAGE_LENGTH, length); + SET_SHORT(EXIF_IFD_0, EXIF_TAG_IMAGE_LENGTH, length); SET_LONG(EXIF_IFD_EXIF, EXIF_TAG_PIXEL_Y_DIMENSION, length); return true; } bool ExifUtilsImpl::setImageWidth(uint32_t width) { - SET_LONG(EXIF_IFD_0, EXIF_TAG_IMAGE_WIDTH, width); + SET_SHORT(EXIF_IFD_0, EXIF_TAG_IMAGE_WIDTH, width); SET_LONG(EXIF_IFD_EXIF, EXIF_TAG_PIXEL_X_DIMENSION, width); return true; } |