gnash-commit
[Top][All Lists]
Advanced

[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-2152-g58dcdd9
Date: Thu, 11 Sep 2014 14:44:07 +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  58dcdd9338d965e54c8f03ce3d2757388d82b7a3 (commit)
      from  63662de346ca79d13d60e6d567332307ba8a99bc (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=58dcdd9338d965e54c8f03ce3d2757388d82b7a3


commit 58dcdd9338d965e54c8f03ce3d2757388d82b7a3
Author: gustavo <address@hidden>
Date:   Thu Sep 11 16:12:17 2014 +0200

    Add support for giflib 5.1

diff --git a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp
index 84b09ce..2ae5ddb 100644
--- a/libbase/GnashImageGif.cpp
+++ b/libbase/GnashImageGif.cpp
@@ -120,7 +120,11 @@ GifInput::GifInput(std::shared_ptr<IOChannel> in)
 GifInput::~GifInput()
 {
     // Clean up allocated data.
-    DGifCloseFile(_gif);
+#if GIFLIB_MAJOR==5 && GIFLIB_MINOR==1
+       DGifCloseFile(_gif, 0);
+#else
+       DGifCloseFile(_gif);
+#endif
 }
 
 size_t

-----------------------------------------------------------------------

Summary of changes:
 libbase/GnashImageGif.cpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

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