diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-04 13:13:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-04 13:13:55 +0300 |
commit | 200dedbe5840fa9fb7e7f24c96d12458f296dc0d (patch) | |
tree | 7643b63e58da41265ae50e714e21dcb4e17eddb7 /plugins/AdvaImg/src/LibPNG/pngtest.c | |
parent | a98c9c3e38deb040415cb57003c634e718b6d64b (diff) |
update to libpng 1.6.31
Diffstat (limited to 'plugins/AdvaImg/src/LibPNG/pngtest.c')
-rw-r--r-- | plugins/AdvaImg/src/LibPNG/pngtest.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/plugins/AdvaImg/src/LibPNG/pngtest.c b/plugins/AdvaImg/src/LibPNG/pngtest.c index b69a3dae05..feef2e3569 100644 --- a/plugins/AdvaImg/src/LibPNG/pngtest.c +++ b/plugins/AdvaImg/src/LibPNG/pngtest.c @@ -1192,6 +1192,14 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) }
}
#endif
+#ifdef PNG_eXIf_SUPPORTED
+ {
+ png_bytep exif;
+
+ if (png_get_eXIf(read_ptr, read_info_ptr, &exif) != 0)
+ png_set_eXIf(write_ptr, write_info_ptr, exif);
+ }
+#endif
#ifdef PNG_hIST_SUPPORTED
{
png_uint_16p hist;
@@ -1530,6 +1538,14 @@ test_one_file(PNG_CONST char *inname, PNG_CONST char *outname) }
}
#endif
+#ifdef PNG_eXIf_SUPPORTED
+ {
+ png_bytep exif;
+
+ if (png_get_eXIf(read_ptr, end_info_ptr, &exif) != 0)
+ png_set_eXIf(write_ptr, write_end_info_ptr, exif);
+ }
+#endif
#ifdef PNG_tIME_SUPPORTED
{
png_timep mod_time;
@@ -2088,4 +2104,4 @@ main(void) #endif
/* Generate a compiler error if there is an old png.h in the search path. */
-typedef png_libpng_version_1_6_29 Your_png_h_is_not_version_1_6_29;
+typedef png_libpng_version_1_6_31 Your_png_h_is_not_version_1_6_31;
|