mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Proper fix for the failure to handle palette mapped images correctly.
This commit is contained in:
parent
a96117f52c
commit
4e230b087e
@ -3778,7 +3778,7 @@ png_do_expand_palette(png_row_infop row_info, png_bytep row,
|
|||||||
row_info->rowbytes = row_width;
|
row_info->rowbytes = row_width;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (row_info->bit_depth == 8)
|
if (row_info->bit_depth == 8)
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
if (trans_alpha != NULL)
|
if (trans_alpha != NULL)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user