diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2021-01-05 17:42:59 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2021-01-05 17:42:59 +0000 |
commit | aa4dfd1e9389eb675f42b50cb314c9dffa8a29e9 (patch) | |
tree | 7fb79706492216460fa9300585f26a9762a8355b | |
parent | fe4bb95b4230ebf4b10b426b70fcc19f878ec310 (diff) | |
parent | 8a5c7cf85dc80910d993a5eeaae9b2e61677bb23 (diff) | |
download | gdk-pixbuf-aa4dfd1e9389eb675f42b50cb314c9dffa8a29e9.tar.gz |
Merge branch 'gif-revert-previous-first-frame' into 'master'
gif: Honor "revert to previous" behaviour on the first frame.
Closes #166
See merge request GNOME/gdk-pixbuf!99
-rw-r--r-- | gdk-pixbuf/io-gif.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c index 64a492a58..1befba155 100644 --- a/gdk-pixbuf/io-gif.c +++ b/gdk-pixbuf/io-gif.c @@ -623,14 +623,6 @@ gif_get_frame_info (GifContext *context) context->x_offset = LM_to_uint (buf[0], buf[1]); context->y_offset = LM_to_uint (buf[2], buf[3]); - if (context->animation->frames == NULL && - context->disposal == 3) { - /* First frame can't have "revert to previous" as its - * dispose mode. Silently use "retain" instead. - */ - context->disposal = 0; - } - context->frame_interlace = BitSet (buf[8], INTERLACE); #ifdef DUMP_IMAGE_DETAILS |