/* clean up and return */
(void)inflateEnd(&strm);
- return ret == Z_STREAM_END ? inflated_length : -1;
+ return (inflated_length);
}
#endif /* zxIf */
#endif
entry=AcquireMagickInfo("PNG","MNG","Multiple-image Network Graphics");
- entry->flags|=CoderSeekableStreamFlag; /* To do: eliminate this. */
+ entry->flags|=CoderDecoderSeekableStreamFlag; /* To do: eliminate this. */
#if defined(MAGICKCORE_PNG_DELEGATE)
entry->decoder=(DecodeImageHandler *) ReadMNGImage;