Bug 536256 - request libpng to flush after writing IEND. r=joe
☠☠ backed out by 06b6ce5fb20e ☠ ☠
authorGlenn Randers-Pehrson <glennrp+bmo@gmail.com>
Thu, 11 Mar 2010 07:48:38 +0100
changeset 39253 28b6961febf19f47e89800c121d9eaf055a4b2f1
parent 39252 332b5043e9a942f9488915f7ff0db19be0e6c699
child 39254 9cfe5ea29d9ce906de01fab5e4298adc8c576ded
child 39268 06b6ce5fb20eb17279381585ed00f7da9cd726b8
push idunknown
push userunknown
push dateunknown
reviewersjoe
bugs536256
milestone1.9.3a3pre
Bug 536256 - request libpng to flush after writing IEND. r=joe
modules/libimg/png/mozpngconf.h
--- a/modules/libimg/png/mozpngconf.h
+++ b/modules/libimg/png/mozpngconf.h
@@ -76,16 +76,17 @@
 #define PNG_NO_READ_OPT_PLTE
 #define PNG_NO_READ_STRIP_ALPHA
 #define PNG_NO_READ_oFFs
 #define PNG_NO_SEQUENTIAL_READ_SUPPORTED
 
 #ifndef MOZ_PNG_WRITE
 #define PNG_NO_WRITE_SUPPORTED
 #else
+#define PNG_WRITE_FLUSH_AFTER_IEND_SUPPORTED
 #define PNG_NO_WRITE_BACKGROUND
 #define PNG_NO_WRITE_DITHER
 #define PNG_NO_WRITE_INVERT
 #define PNG_NO_WRITE_SHIFT
 #define PNG_NO_WRITE_PACK
 #define PNG_NO_WRITE_PACKSWAP
 #define PNG_NO_WRITE_FILLER
 #define PNG_NO_WRITE_SWAP