Mercurial > geeqie
annotate src/format_fuji.h @ 1808:6c61c246506b
Fix a small issue with strptime
strptime do not initialize all fields. So the undefined fields could end
in crash later on.
author | mow |
---|---|
date | Sun, 28 Feb 2010 15:17:12 +0000 |
parents | 956aab097ea7 |
children |
rev | line source |
---|---|
45 | 1 /* |
541 | 2 * Geeqie |
3 * (C) 2005 John Ellis | |
1802 | 4 * Copyright (C) 2008 - 2010 The Geeqie Team |
45 | 5 * |
6 * Authors: | |
7 * Original version 2005 Lars Ellenberg, base on dcraw by David coffin. | |
8 * | |
9 * This software is released under the GNU General Public License (GNU GPL). | |
10 * Please read the included file COPYING for more information. | |
11 * This software comes with no warranty of any kind, use at your own risk! | |
12 */ | |
13 | |
51
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
14 #ifndef __FORMAT_FUJI_H |
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
15 #define __FORMAT_FUJI_H |
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
16 |
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
17 |
176
695e1ad3b169
simplified exif.h, moved implementation-specific stuff to exif-int.h
nadvornik
parents:
101
diff
changeset
|
18 #include "exif-int.h" |
45 | 19 |
20 | |
1453 | 21 gboolean format_fuji_raw(guchar *data, const guint len, |
22 guint *image_offset, guint *exif_offset); | |
45 | 23 |
24 | |
54
b58cac75ad12
Thu Jun 9 22:23:18 2005 John Ellis <johne@verizon.net>
gqview
parents:
53
diff
changeset
|
25 #define FORMAT_RAW_FUJI { "raf", \ |
b58cac75ad12
Thu Jun 9 22:23:18 2005 John Ellis <johne@verizon.net>
gqview
parents:
53
diff
changeset
|
26 FORMAT_RAW_MATCH_MAGIC, 0, "FUJIFILM", 8, \ |
101
847e4bc6b54c
Tue Nov 7 15:35:59 2006 John Ellis <johne@verizon.net>
gqview
parents:
54
diff
changeset
|
27 FORMAT_RAW_EXIF_JPEG, NULL, \ |
54
b58cac75ad12
Thu Jun 9 22:23:18 2005 John Ellis <johne@verizon.net>
gqview
parents:
53
diff
changeset
|
28 "Fuji raw", format_fuji_raw } |
51
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
29 |
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
30 |
1453 | 31 gboolean format_fuji_makernote(ExifData *exif, guchar *tiff, guint offset, |
32 guint size, ExifByteOrder bo); | |
51
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
33 |
53
00843150f7c8
Tue Jun 7 03:47:03 2005 John Ellis <johne@verizon.net>
gqview
parents:
51
diff
changeset
|
34 #define FORMAT_EXIF_FUJI { FORMAT_EXIF_MATCH_MAKERNOTE, "FUJIFILM", 8, "Fujifilm", format_fuji_makernote } |
51
276ea4c98d33
Sat Jun 4 22:24:00 2005 John Ellis <johne@verizon.net>
gqview
parents:
45
diff
changeset
|
35 |
45 | 36 |
37 | |
38 #endif | |
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
1000
diff
changeset
|
39 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |