From: Dan F. <dfa...@us...> - 2007-11-14 05:27:26
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv25739/libexif Modified Files: exif-entry.c Log Message: * Added support for a new macro NO_VERBOSE_TAG_DATA to allow some size reduction but still retain the ability to properly interpret each tag. * Added an end-of-table marker in the Canon color_information makernote table that could otherwise potentially cause a crash on a bad image. Index: exif-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-entry.c,v retrieving revision 1.110 retrieving revision 1.111 diff -u -p -d -r1.110 -r1.111 --- exif-entry.c 9 Nov 2007 21:47:05 -0000 1.110 +++ exif-entry.c 14 Nov 2007 05:27:18 -0000 1.111 @@ -392,7 +392,7 @@ static const struct { ExifTag tag; const char *strings[10]; } list[] = { -#ifndef NO_VERBOSE_TAG_STRINGS +#ifndef NO_VERBOSE_TAG_DATA { EXIF_TAG_PLANAR_CONFIGURATION, { N_("chunky format"), N_("planar format"), NULL}}, { EXIF_TAG_SENSING_METHOD, @@ -436,7 +436,7 @@ static const struct { const char *values[4]; } elem[25]; } list2[] = { -#ifndef NO_VERBOSE_TAG_STRINGS +#ifndef NO_VERBOSE_TAG_DATA { EXIF_TAG_METERING_MODE, { { 0, {N_("Unknown"), NULL}}, { 1, {N_("Average"), N_("avg"), NULL}}, |