Update of /cvsroot/libexif/libexif/libexif
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv24805/libexif
Modified Files:
exif-data.c
Log Message:
Added support for Sanyo makernotes, which are identical to Olympus
Index: exif-data.c
===================================================================
RCS file: /cvsroot/libexif/libexif/libexif/exif-data.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -p -d -r1.100 -r1.101
--- exif-data.c 30 Oct 2007 06:45:23 -0000 1.100
+++ exif-data.c 10 Nov 2007 08:02:33 -0000 1.101
@@ -689,9 +689,11 @@ exif_data_get_type_maker_note (ExifData
if (!e)
return EXIF_DATA_TYPE_MAKER_NOTE_NONE;
- /* Olympus & Nikon */
- if ((e->size >= 8) && (!memcmp (e->data, "OLYMP", 6) ||
- !memcmp (e->data, "OLYMPUS", 8) || !memcmp (e->data, "Nikon", 6)))
+ /* Olympus & Nikon & Sanyo */
+ if ((e->size >= 8) && ( !memcmp (e->data, "OLYMP", 6) ||
+ !memcmp (e->data, "OLYMPUS", 8) ||
+ !memcmp (e->data, "SANYO", 6) ||
+ !memcmp (e->data, "Nikon", 6)))
return EXIF_DATA_TYPE_MAKER_NOTE_OLYMPUS;
em = exif_data_get_entry (d, EXIF_TAG_MAKE);
|