From: Lutz M?l. <lu...@us...> - 2003-10-08 16:40:14
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs1:/tmp/cvs-serv28099/libexif Modified Files: exif-entry.c Log Message: 2003-10-08 Lutz Mueller <lu...@us...> * libexif/exif-entry.c: Patch by Jan Patera <pa...@pi...>. Index: exif-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-entry.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- exif-entry.c 17 Sep 2003 11:31:06 -0000 1.38 +++ exif-entry.c 8 Oct 2003 16:40:11 -0000 1.39 @@ -182,7 +182,9 @@ case EXIF_TAG_EXIF_VERSION: CF (e->format, EXIF_FORMAT_UNDEFINED, v); CC (e->components, 4, v); - if (!memcmp (e->data, "0200", 4)) + if (!memcmp (e->data, "0110", 4)) + strncpy (v, "Exif Version 1.1", sizeof (v) - 1); + else if (!memcmp (e->data, "0200", 4)) strncpy (v, "Exif Version 2.0", sizeof (v) - 1); else if (!memcmp (e->data, "0210", 4)) strncpy (v, "Exif Version 2.1", sizeof (v) - 1); |