summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-28 17:52:15 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-03-28 17:52:15 +1100
commit3c44b526652c820a085e9733df70543cdd0f535a (patch)
tree1f414e87e0affd329531b3f41d584cdf00a97583 /src/format
parent96549cb1a7ce1bed1c4aefe1296a7fde1c575bb0 (diff)
fix(png): Remove require_valid voiding
Diffstat (limited to 'src/format')
-rw-r--r--src/format/image/png.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/format/image/png.c b/src/format/image/png.c
index 11b90c3..67f9a88 100644
--- a/src/format/image/png.c
+++ b/src/format/image/png.c
@@ -35,8 +35,6 @@ ff_result ff_png_isvalid(ff_stream *stream)
ff_result ff_open_png(ff_stream *stream, ff_png_ctx **out_ctx, ff_flag require_valid)
{
- (void)require_valid; // Just cast to void for now until I impl
-
ff_png_ctx *ctx = malloc(sizeof(ff_png_ctx));
if (!ctx) {
// lol, i actually set the last_error field here. now its just this comment. im so frickin dumb bruh