summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-23 13:58:08 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-23 13:58:08 +1100
commitabecdab7ce46f96fb081e62efabe44b16780d004 (patch)
treef954105db0b42004c595f8eca3a68c30321ec8b9
parent67528eb0f56c0eea45480f90aceefef090a3550c (diff)
refactor(png): Change tinf include bracket style
-rw-r--r--include/tinyff/image/png.h2
-rw-r--r--src/format/image/png.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/tinyff/image/png.h b/include/tinyff/image/png.h
index a43d353..000f186 100644
--- a/include/tinyff/image/png.h
+++ b/include/tinyff/image/png.h
@@ -12,8 +12,6 @@
#include <tinyff/stream.h>
#include <tinyff/image/generic.h>
-// External
-#include "ext/tinf.h"
static const unsigned char PNG_SIGNATURE[8] = {
diff --git a/src/format/image/png.c b/src/format/image/png.c
index f15a91d..a3c4176 100644
--- a/src/format/image/png.c
+++ b/src/format/image/png.c
@@ -3,6 +3,9 @@
#include <tinyff/common.h>
#include <tinyff/dbg.h>
+// External
+#include <ext/tinf.h>
+
ff_result ff_png_isvalid(ff_stream *stream)
{
ff_dprintf("png: validating signature\n");