commit | 7b51b8c13bd82518f635428cc4ca8b8f5dfbd914 | [log] [tgz] |
---|---|---|
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Feb 22 19:37:34 2015 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sun Feb 22 19:37:34 2015 -0600 |
tree | 4909d5d9ff92abb0d71368b20388a18875996f80 | |
parent | 5f7e71fa783af1e1001551a94cb7f4ae7225d14d [diff] |
[libng17] Put #ifdef/#endif around png_set_compression_level in pngwrite.c
diff --git a/pngwrite.c b/pngwrite.c index 8591f2c..f7e7eb9 100644 --- a/pngwrite.c +++ b/pngwrite.c
@@ -2266,7 +2266,9 @@ * 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