From fbb65550ace0856ff9807a9c9f5eeee07f0d7d75 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Wed, 16 Sep 2026 20:39:10 +1000 Subject: [PATCH] snippet/uncompng: fix encode_apng return value --- snippet/uncompng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippet/uncompng.c b/snippet/uncompng.c index 44066759..c4a8ae4e 100644 --- a/snippet/uncompng.c +++ b/snippet/uncompng.c @@ -856,7 +856,7 @@ uncompng__encode_apng_header(int (*write_func)(void* context, int ret = (*write_func)(context, uncompng__private_impl_buffer, (size_t)ej); concurrent = false; - return 0; + return ret; } UNCOMPNG__MAYBE_STATIC int // @@ -922,7 +922,7 @@ uncompng__encode_apng_frame(int (*write_func)(void* context, } concurrent = false; - return 0; + return ret; } #endif // UNCOMPNG_IMPLEMENTATION