[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/imload/decoders
From: Bernhard Rosenkraenzer <bero () arklinux ! org>
Date: 2009-08-04 13:18:40
Message-ID: 1249391920.444104.8143.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1006804 by bero:
Make it compile with libpng 1.4 betas
M +4 -0 pngloader.cpp
--- trunk/KDE/kdelibs/khtml/imload/decoders/pngloader.cpp #1006803:1006804
@@ -93,7 +93,11 @@
//Ask libPNG to change bit depths we don't support
if (bitDepth < 8)
+#if PNG_LIBPNG_VER < 10400
png_set_gray_1_2_4_to_8(pngReadStruct);
+#else
+ png_set_expand_gray_1_2_4_to_8(pngReadStruct);
+#endif
if (bitDepth > 8)
png_set_strip_16 (pngReadStruct);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic