[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #39482] GIFLIB-5.0 API change
From: |
OBATA Akio |
Subject: |
[Gnash-commit] [bug #39482] GIFLIB-5.0 API change |
Date: |
Sun, 14 Jul 2013 02:31:06 +0000 |
User-agent: |
Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.16 |
URL:
<http://savannah.gnu.org/bugs/?39482>
Summary: GIFLIB-5.0 API change
Project: Gnash - The GNU Flash player
Submitted by: obache
Submitted on: 2013年07月14日 02時31分05秒
Category: build
Severity: 3 - Normal
Release: 0.8.10
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
GIFLIB-5.0 introduce some API change:
http://giflib.sourceforge.net/gif_lib.html#compatibility
It affect to Gnash, so it should be changed.
Following is a proposed patch to resolve the issue.
--- libbase/GnashImageGif.cpp.orig 2012-01-19 19:17:48.000000000 +0000
+++ libbase/GnashImageGif.cpp
@@ -269,7 +269,11 @@ GifInput::processRecord(GifRecordType re
void
GifInput::read()
{
+#if GIFLIB_MAJOR >= 5
+ _gif = DGifOpen(_inStream.get(), &readData, NULL);
+#else
_gif = DGifOpen(_inStream.get(), &readData);
+#endif
GifRecordType record;
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39482>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Gnash-commit] [bug #39482] GIFLIB-5.0 API change,
OBATA Akio <=