PNG_NO_ERROR
if (png_open(&png, name) == PNG_NO_ERROR) {
if ((error = png_open(&png, name)) != PNG_NO_ERROR) {
if (file_read_ul(png, &length) != PNG_NO_ERROR)
if (file_read_ul(png, &orig_crc) != PNG_NO_ERROR)
return (PNG_NO_ERROR);
if (result == PNG_NO_ERROR) {
result = PNG_NO_ERROR;
if (result == PNG_NO_ERROR) {
if (result == PNG_NO_ERROR)
if (result != PNG_NO_ERROR) {
return (PNG_NO_ERROR);
return (PNG_NO_ERROR);
int rc = PNG_NO_ERROR;
return (PNG_NO_ERROR);
if (file_read_ul(png, &orig_crc) != PNG_NO_ERROR)
int result = PNG_NO_ERROR;
if (file_read_ul(png, &length) != PNG_NO_ERROR)
if (file_read_ul(png, &type) != PNG_NO_ERROR)
if (result != PNG_NO_ERROR)
return (PNG_NO_ERROR);
int result = PNG_NO_ERROR;
while (result == PNG_NO_ERROR)
return (PNG_NO_ERROR);
case PNG_NO_ERROR: