Mercurial > geeqie.yaz
comparison src/format_olympus.c @ 1453:bc3f5c0432f6
gint -> gboolean where applicable. The end (ouf!).
author | zas_ |
---|---|
date | Mon, 16 Mar 2009 20:39:09 +0000 |
parents | 8b89e3ff286b |
children |
comparison
equal
deleted
inserted
replaced
1452:67b40740122e | 1453:bc3f5c0432f6 |
---|---|
103 } | 103 } |
104 | 104 |
105 return exif_byte_get_int32(data + offset + count * EXIF_TIFD_SIZE, bo); | 105 return exif_byte_get_int32(data + offset + count * EXIF_TIFD_SIZE, bo); |
106 } | 106 } |
107 | 107 |
108 gint format_olympus_raw(guchar *data, const guint len, | 108 gboolean format_olympus_raw(guchar *data, const guint len, |
109 guint *image_offset, guint *exif_offset) | 109 guint *image_offset, guint *exif_offset) |
110 { | 110 { |
111 guint i_off = 0; | 111 guint i_off = 0; |
112 guint e_off = 0; | 112 guint e_off = 0; |
113 guint offset; | 113 guint offset; |
114 gint level; | 114 gint level; |
292 { 7, "6500" }, | 292 { 7, "6500" }, |
293 { 8, "7500" }, | 293 { 8, "7500" }, |
294 EXIF_TEXT_LIST_END | 294 EXIF_TEXT_LIST_END |
295 }; | 295 }; |
296 | 296 |
297 gint format_olympus_makernote(ExifData *exif, guchar *tiff, guint offset, | 297 gboolean format_olympus_makernote(ExifData *exif, guchar *tiff, guint offset, |
298 guint size, ExifByteOrder bo) | 298 guint size, ExifByteOrder bo) |
299 { | 299 { |
300 guchar *data; | 300 guchar *data; |
301 ExifItem *item; | 301 ExifItem *item; |
302 | 302 |
303 if (offset + 8 + 4 >= size) return FALSE; | 303 if (offset + 8 + 4 >= size) return FALSE; |