gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11929: checkin modified version of


From: Rob Savoye
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11929: checkin modified version of the patch from bug #28850.
Date: Wed, 10 Feb 2010 11:20:27 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 11929
tags: release_0_8_7_start
committer: Rob Savoye <address@hidden>
branch nick: trunk
timestamp: Wed 2010-02-10 11:20:27 -0700
message:
  checkin modified version of the patch from bug #28850.
modified:
  libbase/GnashImagePng.cpp
=== modified file 'libbase/GnashImagePng.cpp'
--- a/libbase/GnashImagePng.cpp 2010-01-25 18:52:20 +0000
+++ b/libbase/GnashImagePng.cpp 2010-02-10 18:20:27 +0000
@@ -162,7 +162,11 @@
     if (type == PNG_COLOR_TYPE_GRAY && bitDepth < 8)
     {
         log_debug("Setting grey bit depth(%d) to 8", bitDepth);
+#if PNG_LIBPNG_VER_MINOR == 4
+       png_set_expand_gray_1_2_4_to_8(_pngPtr);
+#else
         png_set_gray_1_2_4_to_8(_pngPtr);
+#endif
     }
 
     // Apply the transparency block if it exists.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]