|
From: | Rob Savoye |
Subject: | Re: [Gnash-commit] [SCM] Gnash branch, master, updated. 29788d8c2d19aef2f6aed70f633d706cd8cc7b36 |
Date: | Thu, 02 Dec 2010 12:32:22 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Lightning/1.0b2 Thunderbird/3.1.6 |
On 12/02/10 12:25, Benjamin Wolsey wrote: > >> +#if (PNG_LIBPNG_VER_RELEASE < 9) >> + png_set_gray_1_2_4_to_8(_pngPtr); >> +#else >> + png_set_expand_gray_1_2_4_to_8(_pngPtr); >> +#endif > > Using PNG_LIBPNG_VER_RELEASE isn't very sensible, because both 1.0.9 and > 1.4.4 (the most recent version) fail to use the correct functions. It was working for me with 1.4.4 too, but any simple constant to determine the version is all this needs. The distro I'm dealing with only ships libpng1.2, and upgrading broke a bunch of the other packages. The whole distro isn't very up to date. - rob -
[Prev in Thread] | Current Thread | [Next in Thread] |