[gdk-pixbuf: 1/6] gif: Fix GIF images without a Graphic Control Extension rendering colour 0 as the background.
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdk-pixbuf: 1/6] gif: Fix GIF images without a Graphic Control Extension rendering colour 0 as the background.
- Date: Sun, 29 Nov 2020 17:15:17 +0000 (UTC)
commit 763d9861dfad804114eb8d0448ad9df740fb920a
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Nov 23 12:09:04 2020 +1300
gif: Fix GIF images without a Graphic Control Extension rendering colour 0 as the background.
This was a regression introduced in 5212d69f2362f9b68ccf9385277e5c4a744b2187.
Fixes https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/162
gdk-pixbuf/io-gif.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c
index 07fee59cf..57e72d88b 100644
--- a/gdk-pixbuf/io-gif.c
+++ b/gdk-pixbuf/io-gif.c
@@ -792,6 +792,7 @@ new_context (GdkPixbufModuleSizeFunc size_func,
context->animation = g_object_new (GDK_TYPE_PIXBUF_GIF_ANIM, NULL);
context->frame = NULL;
+ context->transparent_index = -1;
context->file = NULL;
context->state = GIF_START;
context->size_func = size_func;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]