This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository legacy-imlib2.

View the commit online.

commit c44f3a4124591e2174d2921951c48ce304693f54
Author: Kim Woelders <[email protected]>
AuthorDate: Sat May 6 20:54:28 2023 +0200

    GIF loader: Enable showing animated images even if truncated
---
 src/modules/loaders/loader_gif.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/loaders/loader_gif.c b/src/modules/loaders/loader_gif.c
index 139a345..6939347 100644
--- a/src/modules/loaders/loader_gif.c
+++ b/src/modules/loaders/loader_gif.c
@@ -156,7 +156,7 @@ _load(ImlibImage * im, int load_data)
                   while (data)
                     {
                        if (DGifGetCodeNext(gif, &data) == GIF_ERROR)
-                          goto quit;
+                          goto done;
                        DL(" DGifGetCodeNext: size=%d data="" size, data);
                     }
                   continue;
@@ -258,6 +258,7 @@ _load(ImlibImage * im, int load_data)
              DL(" Unknown record type(%d)\n", rec);
           }
      }
+ done:
 
    im->has_alpha = transp >= 0;
    multiframe = false;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to