diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2015-09-24 22:39:53 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2015-09-24 22:39:53 -0500 |
commit | 01a0e8062debca08cc6a2105ec7fa02261acc551 (patch) | |
tree | c4874d9747df27c857d2f5603509e60e24df79b1 /pngread.c | |
parent | 5b038f83e780997dca9bd52613d4e38fc52a613c (diff) | |
download | libpng-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. */ |