summaryrefslogtreecommitdiff
path: root/src/format/image
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 14:32:38 +1100
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-02-22 14:32:38 +1100
commit4d83e2289407ea61dbfa395f7bcc5f0c6ca013e1 (patch)
treedbb27fe4fee1602211e42ca1c8a74f28d8b3d1a8 /src/format/image
parent4d28974574076f482af7b631d118e24917eba3f0 (diff)
fix(bmp): Removed last_error field after ff_bmp_ctx freed
Diffstat (limited to 'src/format/image')
-rw-r--r--src/format/image/bmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/format/image/bmp.c b/src/format/image/bmp.c
index 6a33f40..fc9347a 100644
--- a/src/format/image/bmp.c
+++ b/src/format/image/bmp.c
@@ -50,7 +50,6 @@ ff_result ff_open_bmp(ff_stream *stream, ff_bmp_ctx **out_ctx)
if (res != FF_RESULT_OK) {
ff_dprintf("bmp: validation failed (%d)\n", res);
free(ctx);
- ctx->last_error = res;
return res;
}