summaryrefslogtreecommitdiff
path: root/src/android/jpeg/exif.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-09-24 10:47:27 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-10-02 10:21:45 +0100
commit39d56fcfa0206f373bd169c408d6501f3551d124 (patch)
tree71c5aecee4022a1dd9e2ca861b327279ec0ce593 /src/android/jpeg/exif.h
parentd4432da031b76a17d437d4f4b6ff56d657a08051 (diff)
src: android: exif: Set the class byte ordering
The exif object sets the byte ordering on construction, and then during later calls re-states the byte ordering when setting values. It could be argued that this ordering should already be known to the exif library and is redundant, but even so we must provide it. Ensure we are consistent in always using the same byte ordering by setting a private class member to re-use a single value. Reviewed-by: Umang Jain <email@uajain.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/exif.h')
-rw-r--r--src/android/jpeg/exif.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android/jpeg/exif.h b/src/android/jpeg/exif.h
index f04cefce..77d1177e 100644
--- a/src/android/jpeg/exif.h
+++ b/src/android/jpeg/exif.h
@@ -46,6 +46,7 @@ private:
ExifData *data_;
ExifMem *mem_;
+ ExifByteOrder order_;
unsigned char *exifData_;
unsigned int size_;