summaryrefslogtreecommitdiff
path: root/pngread.c
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-09-24 22:39:53 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2015-09-24 22:39:53 -0500
commit01a0e8062debca08cc6a2105ec7fa02261acc551 (patch)
treec4874d9747df27c857d2f5603509e60e24df79b1 /pngread.c
parent5b038f83e780997dca9bd52613d4e38fc52a613c (diff)
downloadlibpng-01a0e8062debca08cc6a2105ec7fa02261acc551.tar.gz
[libpng16] Reverted addition of png_set_filler_16 and png_set_add_alpha_16()
functions. They unnecessarily duplicate png_set_filler() and png_set_add_alpha() which now work properly with 16-bit images.
Diffstat (limited to 'pngread.c')
-rw-r--r--pngread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pngread.c b/pngread.c
index 1b1bdbfe5..48aae8488 100644
--- a/pngread.c
+++ b/pngread.c
@@ -3860,7 +3860,7 @@ png_image_read_direct(png_voidp argument)
# endif
where = PNG_FILLER_AFTER;
- png_set_add_alpha_16(png_ptr, filler, where);
+ png_set_add_alpha(png_ptr, filler, where);
}
/* This stops the (irrelevant) call to swap_alpha below. */