blob: 57b39272b62034713247fd608b9861a45f7beb92 (
plain)
1 --- a/image.cpp 2012-06-26 04:20:14.000000000 -0400
2 +++ b/image.cpp 2012-06-27 11:41:34.000000000 -0400
3 @@ -781,7 +781,11 @@
4 (png_infopp) NULL);
5 }
6
7 +#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
8 + if (setjmp(png_jmpbuf((png_ptr)))) {
9 +#else
10 if (setjmp(png_ptr->jmpbuf)) {
11 +#endif
12 goto png_destroy;
13 }
14
|