2002-06-08 Lutz Müller <lutz@users.sourceforge.net>
authorLutz Mueller <lutz.s.mueller@gmail.com>
Sat, 8 Jun 2002 17:22:15 +0000 (19:22 +0200)
committerLutz Mueller <lutz.s.mueller@gmail.com>
Sat, 8 Jun 2002 17:22:15 +0000 (19:22 +0200)
        Patch by Guido Ostkamp <guido.ostkamp@t-online.de>

        * libexif/exif-data.c: Increment offset by 12.

ChangeLog
libexif/exif-data.c

index 6d83077..a84ed9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-08  Lutz Müller <lutz@users.sourceforge.net>
+
+       Patch by Guido Ostkamp <guido.ostkamp@t-online.de>
+
+       * libexif/exif-data.c: Increment offset by 12.
+
 2002-06-06  Lutz Müller <lutz@users.sourceforge.net>
 
        Bug spotted by Andres <aplaza@smalcamera.com>:
index e926945..f97d1e8 100644 (file)
@@ -370,6 +370,7 @@ exif_data_save_data_content (ExifData *data, ExifContent *ifd,
                *ds += data->size;
                *d = realloc (*d, sizeof (char) * *ds);
                memcpy (*d + *ds - data->size, data->data, data->size);
+               offset += 12;
        }
 
        if (ifd == data->ifd0 && data->ifd1->count) {