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 ee4b02016ed891858b232119adde0bb568368ad4
Author: Kim Woelders <[email protected]>
AuthorDate: Mon Nov 21 18:33:06 2022 +0100
PNG loader: Quit scan when target fdAT is seen
---
src/modules/loaders/loader_png.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/src/modules/loaders/loader_png.c b/src/modules/loaders/loader_png.c
index 3718ca0..afa4f66 100644
--- a/src/modules/loaders/loader_png.c
+++ b/src/modules/loaders/loader_png.c
@@ -404,6 +404,16 @@ _load(ImlibImage * im, int load_data)
break;
#undef P
+ case PNG_TYPE_fdAT:
+ D("\n");
+#ifdef IMLIB2_DEBUG
+ break; /* Show all frames */
+#else
+ if (ctx.pch_fctl)
+ goto scan_done; /* Got fcTL and fdAT - APNG regular frame */
+ break;
+#endif
+
case PNG_TYPE_IEND:
D("\n");
goto scan_check;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.