/*
* Geeqie
* (C) 2005 John Ellis
- * Copyright (C) 2008 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
*
* This software is released under the GNU General Public License (GNU GPL).
* Please read the included file COPYING for more information.
*-----------------------------------------------------------------------------
*/
-static gint canon_cr2_tiff_entry(guchar *data, const guint len, guint offset, ExifByteOrder bo,
- guint *image_offset, gint *jpeg_encoding)
+static gboolean canon_cr2_tiff_entry(guchar *data, const guint len, guint offset, ExifByteOrder bo,
+ guint *image_offset, gint *jpeg_encoding)
{
guint tag;
guint type;
static gint canon_cr2_tiff_table(guchar *data, const guint len, guint offset, ExifByteOrder bo,
guint *image_offset)
{
- gint jpeg_encoding = FALSE;
+ gboolean jpeg_encoding = FALSE;
guint count;
guint i;
return exif_byte_get_int32(data + offset + count * EXIF_TIFD_SIZE, bo);
}
-gint format_canon_raw_cr2(guchar *data, const guint len,
- guint *image_offset, guint *exif_offset)
+gboolean format_canon_raw_cr2(guchar *data, const guint len,
+ guint *image_offset, guint *exif_offset)
{
guint jpeg_offset = 0;
ExifByteOrder bo;
#define CRW_HEADER_SIZE 26
#define CRW_DIR_ENTRY_SIZE 10
-gint format_canon_raw_crw(guchar *data, const guint len,
- guint *image_offset, guint *exif_offset)
+gboolean format_canon_raw_crw(guchar *data, const guint len,
+ guint *image_offset, guint *exif_offset)
{
guint block_offset;
guint data_length;
}
#endif
-gint format_canon_makernote(ExifData *exif, guchar *tiff, guint offset,
- guint size, ExifByteOrder bo)
+gboolean format_canon_makernote(ExifData *exif, guchar *tiff, guint offset,
+ guint size, ExifByteOrder bo)
{
ExifItem *item;