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

[libpng16] Put #ifdef/#endif around png_set_compression_level in pngwrite.c

上级 76f93293
......@@ -2289,7 +2289,9 @@ png_image_write_main(png_voidp argument)
* it about 50 times. The speed-up in pngstest was about 10-20% of the
* total (user) time on a heavily loaded system.
*/
#ifdef PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED
png_set_compression_level(png_ptr, 3);
#endif
}
/* Check for the cases that currently require a pre-transform on the row
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册