Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: pngimage.c: Disable the check on interlace_method if WRITE_INTERLACE is not supported. #623

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion contrib/libtests/pngimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,12 @@ compare_read(struct display *dp, int applied_transforms)
C(height);
C(bit_depth);
C(color_type);
C(interlace_method);
# ifdef PNG_WRITE_INTERLACING_SUPPORTED
/* If write interlace has been disabled the PNG is still written
* correctly but as a simple, not interlacedd, PNG.
*/
C(interlace_method);
# endif
C(compression_method);
C(filter_method);

Expand Down