pngcrush: bump version.

This commit is contained in:
Jerome Duval
2016-01-12 19:47:18 +00:00
parent 79ad15d980
commit 8401b84c02
2 changed files with 19 additions and 9 deletions

View File

@@ -0,0 +1,31 @@
From 00097b118a2055f1040370ff92ad97ff3f007349 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Tue, 12 Jan 2016 19:35:11 +0000
Subject: haiku patch
diff --git a/pngcrush.c b/pngcrush.c
index c049657..de80835 100644
--- a/pngcrush.c
+++ b/pngcrush.c
@@ -6461,6 +6461,8 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED)
png_uint_32 zbuf_size;
png_uint_32 required_window;
int channels = 0;
+ png_uint_32 rowbytes;
+ png_uint_32 h = height;
png_set_compression_strategy(write_ptr,
z_strategy);
png_set_compression_mem_level(write_ptr,
@@ -6482,8 +6484,6 @@ defined(PNG_READ_STRIP_16_TO_8_SUPPORTED)
* a png_uint_32, by limiting the width and height used
* to 15 bits.
*/
- png_uint_32 rowbytes;
- png_uint_32 h = height;
/* FIX THIS, does not work with libpng-1.7.0
* because info_ptr->bit_depth has not been
--
2.2.2