projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d28011
)
Use a unique log message for an Exif header found at the start.
author
Dan Fandrich
<dan@coneharvesters.com>
Fri, 11 May 2018 16:25:22 +0000
(18:25 +0200)
committer
Dan Fandrich
<dan@coneharvesters.com>
Fri, 11 May 2018 16:25:22 +0000
(18:25 +0200)
This occurs if exif_data_load_data is given just an Exif data block vs.
a JPEG block that must be scanned for the APP1 marker.
libexif/exif-data.c
patch
|
blob
|
history
diff --git
a/libexif/exif-data.c
b/libexif/exif-data.c
index
04cdda2
..
002af86
100644
(file)
--- a/
libexif/exif-data.c
+++ b/
libexif/exif-data.c
@@
-811,7
+811,7
@@
exif_data_load_data (ExifData *data, const unsigned char *d_orig,
}
if (!memcmp (d, ExifHeader, 6)) {
exif_log (data->priv->log, EXIF_LOG_CODE_DEBUG, "ExifData",
- "Found EXIF header.");
+ "Found EXIF header
at start
.");
} else {
while (ds >= 3) {
while (ds && (d[0] == 0xff)) {