From: ComSquare M. O. <mar...@co...> - 2008-09-16 18:44:52
|
Looking to the following peace of code in the PNG_COLOR_TYPE_PALETTE case of the function png_get_tRNS(): if (trans_values != NULL) *trans_values = &(info_ptr->trans_values); I would expect: if (trans_values != NULL) *trans_values = NULL; Like it is done for <trans> in the NOT PNG_COLOR_TYPE_PALETTE case. Martin |