Use a unique log message for an Exif header found at the start.
authorDan Fandrich <dan@coneharvesters.com>
Fri, 11 May 2018 16:25:22 +0000 (18:25 +0200)
committerDan 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

index 04cdda2..002af86 100644 (file)
@@ -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)) {