diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-08-02 13:50:16 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-08-02 13:50:16 +0200 |
| commit | 1e355114311d7bf44b96b11b745857a2b68e8a06 (patch) | |
| tree | e9e63419c60b1668a22bceda4447794469db21ba /generators.c | |
| parent | 64c8713ab4a64eaf53a764530837bd3ae47a89d2 (diff) | |
| download | cataract-1e355114311d7bf44b96b11b745857a2b68e8a06.tar.xz | |
Port to exiv2 library
Now we are able to read EXIF, IPTC and JPEG metadata such as caption, copyright, author etc. though we don't display them anywhere yet.
Fixes weird shutter times.
Diffstat (limited to 'generators.c')
| -rw-r--r-- | generators.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generators.c b/generators.c index 3639309..a478389 100644 --- a/generators.c +++ b/generators.c @@ -486,8 +486,7 @@ write_html_image (TGallerySetup *setup, /* Get EXIF data from the original image */ - exif = malloc (sizeof (TExifData)); - if (get_exif (original_img, exif)) + if (get_exif (original_img, &exif)) fprintf (stderr, "write_html_image: error getting exif data from file \"%s\"\n", orig_dst); /* Retrieve image sizes of preview and original image */ |
