[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.
This commit is contained in:
Glenn Randers-Pehrson
2017-07-31 16:56:30 -05:00
parent c77274ffa9
commit 3e753f5cbe
9 changed files with 28 additions and 23 deletions

View File

@@ -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;
}