png: fix compilation with libpng 1.4
authorDavid Hoyt <dhoyt@llnl.gov>
Tue, 2 Feb 2010 00:02:34 +0000 (00:02 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 2 Feb 2010 00:04:34 +0000 (00:04 +0000)
commit2514421c13f58b153f31cca62251ebec8af54ba4
treed91848778076201c520129c03878779f03c745c6
parentc35a9848014559ec13d7dbe6af41d216367039b9
png: fix compilation with libpng 1.4

png_set_gray_1_2_4_to_8() has been deprecated for a while and was
finally removed in libpng 1.4.x. Use png_set_expand_gray_1_2_4_to_8()
instead.

Fixes #608629.
ext/libpng/gstpngdec.c