summaryrefslogtreecommitdiff
path: root/src/common.c
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-14 11:09:33 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-04-14 11:09:33 +1000
commit2c526ed41bf81a3c7e0438661fd87d2480221f34 (patch)
tree521631e222854dd7f1613844b7205a81b5060c48 /src/common.c
parent097ad322e0cbe5ca72a3d7c1938f2925547c196b (diff)
fix(png): IDAT uncompressed size and zlib header skip
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index b9f7563..9307889 100644
--- a/src/common.c
+++ b/src/common.c
@@ -1,3 +1,4 @@
+#include <tinyff/stream.h>
#include <tinyff/dbg.h>
#include <tinyff/common.h>
@@ -22,7 +23,7 @@ ff_ctx* ff_init(ff_allocator* allocator)
if (!ctx) return NULL;
ctx->ff_debug_enabled = FF_DISABLE;
- ctx->ff_debug_stream = NULL;
+ ctx->ff_debug_stream = FF_NULL_STREAM;
ctx->allocator = *allocator;