From 5bdfcdbcc75a5282f412e6dbada4db1d8631fa55 Mon Sep 17 00:00:00 2001 From: "jiyong.min" Date: Mon, 28 Oct 2019 08:52:01 +0900 Subject: [PATCH] Fix wrong ordinal(index) for 'png_read_image_with_pick_color' - 245 was already used for 'png_image_write_to_memory' and 'png_read_image_with_pick_color' was defined as 250 in 'scripts/symbols.def'. - Just the ordinals are used to check build, not used in runtime. Change-Id: Ice36cb4f45268e2f41e40b3b11a5406ef0ab48ba --- png.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/png.h b/png.h index b6d17e5..ed74ca1 100644 --- a/png.h +++ b/png.h @@ -3250,10 +3250,12 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option, #endif /* SET_OPTION */ /* VD_TIZEN_ONLY */ +#ifdef _PNG_COLOR_PICK_ENABLED_ /* Read the whole image into memory at once. */ -PNG_EXPORT(245, void, png_read_image_with_pick_color, (png_structp png_ptr, +PNG_EXPORT(250, void, png_read_image_with_pick_color, (png_structp png_ptr, png_bytepp image, PngPickColor *pickcolor)); +#endif /* VD_TIZEN_ONLY_END */ /******************************************************************************* -- 2.7.4