Lines 853-860
Link Here
|
853 |
*/ |
853 |
*/ |
854 |
!(marker->format == EXIF_FORMAT_LONG_UNSIGNED && ent->format == EXIF_FORMAT_SHORT_UNSIGNED) ) |
854 |
!(marker->format == EXIF_FORMAT_LONG_UNSIGNED && ent->format == EXIF_FORMAT_SHORT_UNSIGNED) ) |
855 |
{ |
855 |
{ |
856 |
printf("warning: exif tag %s format mismatch, found %s exif spec requests %s\n", |
856 |
if (ent->format <= EXIF_FORMAT_DOUBLE) |
857 |
marker->key, ExifFormatList[ent->format].short_name, ExifFormatList[marker->format].short_name); |
857 |
{ |
|
|
858 |
printf("warning: exif tag %s format mismatch, found %s exif spec requests %s\n", |
859 |
marker->key, ExifFormatList[ent->format].short_name, ExifFormatList[marker->format].short_name); |
860 |
} |
861 |
else |
862 |
{ |
863 |
printf("warning: exif tag %s format mismatch, found unknown format value %d exif spec requests %s\n", |
864 |
marker->key, ent->format, ExifFormatList[marker->format].short_name); |
865 |
} |
858 |
return 0; |
866 |
return 0; |
859 |
} |
867 |
} |
860 |
} |
868 |
} |