comparison src/format_fuji.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
37 * Raw (RAF) embedded jpeg extraction for Fujifilm 37 * Raw (RAF) embedded jpeg extraction for Fujifilm
38 *----------------------------------------------------------------------------- 38 *-----------------------------------------------------------------------------
39 */ 39 */
40 40
41 41
42 gint format_fuji_raw(guchar *data, const guint len, 42 gboolean format_fuji_raw(guchar *data, const guint len,
43 guint *image_offset, guint *exif_offset) 43 guint *image_offset, guint *exif_offset)
44 { 44 {
45 guint io; 45 guint io;
46 guint eo; 46 guint eo;
47 47
48 if (len < 128 || 48 if (len < 128 ||
173 EXIF_MARKER_LIST_END 173 EXIF_MARKER_LIST_END
174 }; 174 };
175 175
176 176
177 177
178 gint format_fuji_makernote(ExifData *exif, guchar *tiff, guint offset, 178 gboolean format_fuji_makernote(ExifData *exif, guchar *tiff, guint offset,
179 guint size, ExifByteOrder bo) 179 guint size, ExifByteOrder bo)
180 { 180 {
181 guchar *data; 181 guchar *data;
182 guint ifdstart; 182 guint ifdstart;
183 183
184 if (offset + 8 + 4 >= size) return FALSE; 184 if (offset + 8 + 4 >= size) return FALSE;