comparison src/format_nikon.c @ 1453:bc3f5c0432f6

gint -> gboolean where applicable. The end (ouf!).
author zas_
date Mon, 16 Mar 2009 20:39:09 +0000
parents 8b89e3ff286b
children 956aab097ea7
comparison
equal deleted inserted replaced
1452:67b40740122e 1453:bc3f5c0432f6
129 } 129 }
130 130
131 return exif_byte_get_int32(data + offset + count * EXIF_TIFD_SIZE, bo); 131 return exif_byte_get_int32(data + offset + count * EXIF_TIFD_SIZE, bo);
132 } 132 }
133 133
134 gint format_nikon_raw(guchar *data, const guint len, 134 gboolean format_nikon_raw(guchar *data, const guint len,
135 guint *image_offset, guint *exif_offset) 135 guint *image_offset, guint *exif_offset)
136 { 136 {
137 guint i_off = 0; 137 guint i_off = 0;
138 guint i_len = 0; 138 guint i_len = 0;
139 ExifByteOrder bo; 139 ExifByteOrder bo;
140 guint offset; 140 guint offset;
353 { 4, "right" }, 353 { 4, "right" },
354 EXIF_TEXT_LIST_END 354 EXIF_TEXT_LIST_END
355 }; 355 };
356 356
357 357
358 gint format_nikon_makernote(ExifData *exif, guchar *tiff, guint offset, 358 gboolean format_nikon_makernote(ExifData *exif, guchar *tiff, guint offset,
359 guint size, ExifByteOrder bo) 359 guint size, ExifByteOrder bo)
360 { 360 {
361 guchar *data; 361 guchar *data;
362 ExifItem *item; 362 ExifItem *item;
363 363
364 if (offset + 8 + 4 >= size) return FALSE; 364 if (offset + 8 + 4 >= size) return FALSE;