From: cristy Date: Thu, 17 May 2012 22:49:37 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5579 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=862a33cdfa342ec7df3a7c4b4b46def7c45712b3;p=imagemagick --- diff --git a/coders/png.c b/coders/png.c index 21ad20c59..d374ec322 100644 --- a/coders/png.c +++ b/coders/png.c @@ -2942,7 +2942,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info, row_offset=0; png_read_row(ping,ping_pixels+row_offset,NULL); - q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); + q=GetAuthenticPixels(image,0,y,image->columns,1,exception); if (q == (Quantum *) NULL) break; @@ -10498,8 +10498,7 @@ static MagickBooleanType WriteOnePNGImage(MngInfo *mng_info, { for (y=0; y < (ssize_t) image->rows; y++) { - p=GetVirtualPixels(image,0,y,image->columns,1, - exception); + p=GetVirtualPixels(image,0,y,image->columns,1, exception); if (p == (const Quantum *) NULL) break;