summaryrefslogtreecommitdiff
path: root/plugins/AdvaImg/src/LibPNG/pngget.c
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-04 13:13:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-04 13:13:55 +0300
commit200dedbe5840fa9fb7e7f24c96d12458f296dc0d (patch)
tree7643b63e58da41265ae50e714e21dcb4e17eddb7 /plugins/AdvaImg/src/LibPNG/pngget.c
parenta98c9c3e38deb040415cb57003c634e718b6d64b (diff)
update to libpng 1.6.31
Diffstat (limited to 'plugins/AdvaImg/src/LibPNG/pngget.c')
-rw-r--r--plugins/AdvaImg/src/LibPNG/pngget.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/AdvaImg/src/LibPNG/pngget.c b/plugins/AdvaImg/src/LibPNG/pngget.c
index b218261270..2779548336 100644
--- a/plugins/AdvaImg/src/LibPNG/pngget.c
+++ b/plugins/AdvaImg/src/LibPNG/pngget.c
@@ -773,6 +773,24 @@ png_get_sPLT(png_const_structrp png_ptr, png_inforp info_ptr,
}
#endif
+#ifdef PNG_eXIf_SUPPORTED
+png_uint_32 PNGAPI
+png_get_eXIf(png_const_structrp png_ptr, png_inforp info_ptr,
+ png_bytep *exif)
+{
+ png_debug1(1, "in %s retrieval function", "eXIf");
+
+ if (png_ptr != NULL && info_ptr != NULL &&
+ (info_ptr->valid & PNG_INFO_eXIf) != 0 && exif != NULL)
+ {
+ *exif = info_ptr->exif;
+ return (PNG_INFO_eXIf);
+ }
+
+ return (0);
+}
+#endif
+
#ifdef PNG_hIST_SUPPORTED
png_uint_32 PNGAPI
png_get_hIST(png_const_structrp png_ptr, png_inforp info_ptr,