提交 0fe929e7 编写于 作者: G Glenn Randers-Pehrson

[devel] Fixed incorrect #ifdef in pngset.c

PNG_UNKNOWN_CHUNK_SUPPORTED should be PNG_HANDLE_AS_UNKNOWN_SUPPORTED.
上级 626afd62
......@@ -532,6 +532,7 @@ version 1.4.0beta74 [August 8, 2009]
version 1.4.0beta75 [August 21, 2009]
Removed an extra png_debug() recently added to png_write_find_filter().
Fixed incorrect #ifdef in pngset.c regarding unknown chunk support.
version 1.4.0betaN [future]
Build shared libraries with -lz and sometimes -lm.
......
......@@ -2209,6 +2209,7 @@ version 1.4.0beta74 [August 8, 2009]
version 1.4.0beta75 [August 21, 2009]
Removed an extra png_debug() recently added to png_write_find_filter().
Fixed incorrect #ifdef in pngset.c regarding unknown chunk support.
version 1.4.0betaN [future]
Build shared libraries with -lz and sometimes -lm.
......
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.4.0 [August 16, 2009]
* Last changed in libpng 1.4.0 [August 21, 2009]
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
......@@ -1034,7 +1034,7 @@ png_set_sPLT(png_structp png_ptr,
}
#endif /* PNG_sPLT_SUPPORTED */
#if defined(PNG_UNKNOWN_CHUNKS_SUPPORTED)
#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
void PNGAPI
png_set_unknown_chunks(png_structp png_ptr,
png_infop info_ptr, png_unknown_chunkp unknowns, int num_unknowns)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册