* gregor herrmann <[email protected]>, 2012-01-26, 21:57:
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+       png_set_expand_gray_1_2_4_to_8(h->png);
+#else
        png_set_gray_1_2_4_to_8(h->png);
+#endif

Won't that break with libpng 2.0? I think it the condition should be rather:

(PNG_LIBPNG_VER_MAJOR == 1 && PNG_LIBPNG_VER_MINOR >= 4) || PNG_LIBPNG_VER_MAJOR 
> 1

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to