blob: 31ae6200e4415d88d450d58fcc6512f56a3c8f33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/image/png.c
+++ b/image/png.c
@@ -86,7 +86,7 @@
return NULL;
}
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png_ptr))) {
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);
fclose(fp);
return NULL;
|