[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1665-gcc22f2d |
Date: |
Mon, 15 Jul 2013 07:21:35 +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 cc22f2d0597f3a9547980f4786d918f8b5635472 (commit)
from 0086f96aceb4727dc264f8a8341ae34798a01fc5 (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=cc22f2d0597f3a9547980f4786d918f8b5635472
commit cc22f2d0597f3a9547980f4786d918f8b5635472
Author: OBATA Akio <address@hidden>
Date: Mon Jul 15 09:16:39 2013 +0200
Add support fir GIFLIB-5.0 (bug #39482)
Signed-off-by: Sandro Santilli <address@hidden>
diff --git a/NEWS b/NEWS
index 1f2015e..9e2dbd1 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@ YYYY/MM/DD
Improvements since 0.8.10 release are:
* Fix opening of external URL with Gnash Standalone (#31833)
+ * Fix support for GIFLIB-5.0 (#39482)
Gnash 0.8.10
2012/02/04
diff --git a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp
index eeba4b7..26865c1 100644
--- a/libbase/GnashImageGif.cpp
+++ b/libbase/GnashImageGif.cpp
@@ -269,7 +269,17 @@ GifInput::processRecord(GifRecordType record)
void
GifInput::read()
{
+#if GIFLIB_MAJOR >= 5
+ int errorCode;
+ _gif = DGifOpen(_inStream.get(), &readData, &errorCode);
+#else
_gif = DGifOpen(_inStream.get(), &readData);
+#endif
+
+ if ( ! _gif ) {
+ // TODO: decode errorCode if available
+ throw ParserException("Could not open input GIF stream");
+ }
GifRecordType record;
-----------------------------------------------------------------------
Summary of changes:
NEWS | 1 +
libbase/GnashImageGif.cpp | 10 ++++++++++
2 files changed, 11 insertions(+), 0 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1665-gcc22f2d,
Sandro Santilli <=