[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. 9e91fe8f196167d60b9d
From: |
Rob Savoye |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. 9e91fe8f196167d60b9d9816b2b5e9405de98927 |
Date: |
Fri, 03 Dec 2010 00:01:40 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via 9e91fe8f196167d60b9d9816b2b5e9405de98927 (commit)
from 29788d8c2d19aef2f6aed70f633d706cd8cc7b36 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=9e91fe8f196167d60b9d9816b2b5e9405de98927
commit 9e91fe8f196167d60b9d9816b2b5e9405de98927
Author: Rob Savoye <address@hidden>
Date: Thu Dec 2 17:01:23 2010 -0700
use PNG_LIBPNG_VER_MINOR instead of PNG_LIBPNG_VER_RELEASE
diff --git a/libbase/GnashImagePng.cpp b/libbase/GnashImagePng.cpp
index 01f5ef2..8a57106 100644
--- a/libbase/GnashImagePng.cpp
+++ b/libbase/GnashImagePng.cpp
@@ -161,7 +161,7 @@ PngInput::read()
// Convert less-than-8-bit greyscale to 8 bit.
if (type == PNG_COLOR_TYPE_GRAY && bitDepth < 8) {
log_debug("Setting grey bit depth(%d) to 8", bitDepth);
-#if (PNG_LIBPNG_VER_RELEASE < 9)
+#if PNG_LIBPNG_VER_MINOR < 4
png_set_gray_1_2_4_to_8(_pngPtr);
#else
png_set_expand_gray_1_2_4_to_8(_pngPtr);
-----------------------------------------------------------------------
Summary of changes:
libbase/GnashImagePng.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. 9e91fe8f196167d60b9d9816b2b5e9405de98927,
Rob Savoye <=