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 9ad4769e0a51c9ca8bea8f11f80126073ae1378d
Author: Kim Woelders <k...@woelders.dk>
AuthorDate: Mon Jan 1 16:04:32 2024 +0100
ANI loader: Avoid debug line when image does not have proper signature
---
src/modules/loaders/loader_ani.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/modules/loaders/loader_ani.c b/src/modules/loaders/loader_ani.c
index d66cd5e..024f966 100644
--- a/src/modules/loaders/loader_ani.c
+++ b/src/modules/loaders/loader_ani.c
@@ -125,12 +125,8 @@ _riff_parse(ImlibImage * im, riff_ctx_t * ctx, const char *fdata,
type = SWAP_LE_32(chunk->hdr.type);
size = SWAP_LE_32(chunk->hdr.size);
- D("%5lu: %*s Chunk: %.4s size %u: ",
- OFFS(fptr), ctx->nest, "", fptr, size);
-
if (ctx->nest == 1 && fptr == fdata)
{
- Dx("\n");
/* First chunk of file */
if (type != RIFF_TYPE_RIFF ||
(SWAP_LE_32(chunk->list.name)) != RIFF_NAME_ACON)
@@ -139,6 +135,9 @@ _riff_parse(ImlibImage * im, riff_ctx_t * ctx, const char *fdata,
continue;
}
+ D("%5lu: %*s Chunk: %.4s size %u: ",
+ OFFS(fptr), ctx->nest, "", fptr, size);
+
if (avail < 8 + size)
{
Dx("incorrect size\n");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.