summaryrefslogtreecommitdiff
path: root/pngwutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'pngwutil.c')
-rw-r--r--pngwutil.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pngwutil.c b/pngwutil.c
index be4f54205..5fb7d2b08 100644
--- a/pngwutil.c
+++ b/pngwutil.c
@@ -1742,7 +1742,6 @@ png_write_iTXt(png_structrp png_ptr, int compression, png_const_charp key,
{
if (png_text_compress(png_ptr, png_iTXt, &comp, prefix_len) != Z_OK)
png_error(png_ptr, png_ptr->zstream.msg);
- png_write_chunk_header(png_ptr, png_iTXt, comp.output_len + prefix_len);
}
else