From: jiyong.min Date: Sun, 27 Oct 2019 23:52:01 +0000 (+0900) Subject: Fix wrong ordinal(index) for 'png_read_image_with_pick_color' X-Git-Tag: accepted/tizen/unified/20191114.042557^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibpng.git;a=commitdiff_plain;h=5bdfcdbcc75a5282f412e6dbada4db1d8631fa55 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 --- 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 */ /*******************************************************************************