git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4928
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
int transp = 0;
png_read_image( png_ptr, lines );
{
int transp = 0;
png_read_image( png_ptr, lines );
+ png_read_end( png_ptr, info_ptr );
png_destroy_read_struct( &png_ptr, &info_ptr, (png_infopp) NULL );
unsigned char *ptr = image->GetData();
if ((color_type == PNG_COLOR_TYPE_GRAY) ||
png_destroy_read_struct( &png_ptr, &info_ptr, (png_infopp) NULL );
unsigned char *ptr = image->GetData();
if ((color_type == PNG_COLOR_TYPE_GRAY) ||