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>
This commit is contained in:
parent
d4432da031
commit
39d56fcfa0
2 changed files with 7 additions and 5 deletions
|
@ -46,6 +46,7 @@ private:
|
|||
|
||||
ExifData *data_;
|
||||
ExifMem *mem_;
|
||||
ExifByteOrder order_;
|
||||
|
||||
unsigned char *exifData_;
|
||||
unsigned int size_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue