diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2017-07-31 16:56:30 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2017-07-31 16:56:30 -0500 |
commit | 3e753f5cbea3a7b334ecd6dae3b0723f528e06a5 (patch) | |
tree | d00151277a22140171e0875df0f67348fbbc3512 /pngset.c | |
parent | c77274ffa935d303faa6dd746519a152e4fa8781 (diff) |
[libpng16] Changed name of png_get_eXIF and png_set_eXIf() to png_get_eXIf_1()
and png_set_eXIf_1(), respectively, to avoid breaking API compatibility
with libpng-1.6.31.
Diffstat (limited to 'pngset.c')
-rw-r--r-- | pngset.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -136,7 +136,7 @@ png_set_cHRM_XYZ(png_const_structrp png_ptr, png_inforp info_ptr, double red_X, #ifdef PNG_eXIf_SUPPORTED void PNGAPI -png_set_eXIf(png_const_structrp png_ptr, png_inforp info_ptr, +png_set_eXIf_1(png_const_structrp png_ptr, png_inforp info_ptr, const png_uint_32 num_exif, const png_bytep eXIf_buf) { int i; @@ -156,7 +156,6 @@ png_set_eXIf(png_const_structrp png_ptr, png_inforp info_ptr, if (info_ptr->exif == NULL) { png_warning(png_ptr, "Insufficient memory for eXIf chunk data"); - return; } |