summaryrefslogtreecommitdiff
path: root/jhead.h
diff options
context:
space:
mode:
Diffstat (limited to 'jhead.h')
-rw-r--r--jhead.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/jhead.h b/jhead.h
index 1725f74..2f640dd 100644
--- a/jhead.h
+++ b/jhead.h
@@ -59,6 +59,11 @@ extern int DumpExifMap;
#define MAX_DATE_COPIES 10
+typedef struct {
+ uint32_t num;
+ uint32_t denom;
+} rat_t;
+
//--------------------------------------------------------------------------
// This structure stores Exif header image elements in a simple manner
// Used to store camera data as extracted from the various ways that it can be
@@ -75,7 +80,7 @@ typedef struct {
int IsColor;
int Process;
int FlashUsed;
- float FocalLength;
+ rat_t FocalLength;
float ExposureTime;
float ApertureFNumber;
float Distance;