1 --- xbmc/visualizations/Goom/goom2k4-0/src/pngload.c.orig 2010-02-04 16:58:05.000000000 -0800
2 +++ xbmc/visualizations/Goom/goom2k4-0/src/pngload.c 2010-02-04 17:09:11.000000000 -0800
4 png_set_palette_to_rgb (png_ptr);
6 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
7 - png_set_gray_1_2_4_to_8 (png_ptr);
8 + png_set_expand_gray_1_2_4_to_8 (png_ptr);
9 else if (color_type == PNG_COLOR_TYPE_GRAY ||
10 color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
11 png_set_gray_to_rgb (png_ptr);
12 --- xbmc/screensavers/rsxs-0.9/src/pngimage.cc.orig 2010-02-04 16:56:46.000000000 -0800
13 +++ xbmc/screensavers/rsxs-0.9/src/pngimage.cc 2010-02-04 17:09:11.000000000 -0800
15 (png_get_color_type(png, pngInfo) == PNG_COLOR_TYPE_GRAY) &&
16 png_get_bit_depth(png, pngInfo) < 8
18 - png_set_gray_1_2_4_to_8(png);
19 + png_set_expand_gray_1_2_4_to_8(png);
20 if (png_get_valid(png, pngInfo, PNG_INFO_tRNS))
21 png_set_tRNS_to_alpha(png);