From 700d4447dfcd815aef5967ecc8cef60800007ead Mon Sep 17 00:00:00 2001 From: TazyFoundSoup Date: Sun, 22 Feb 2026 14:33:26 +1100 Subject: fix(bmp): Removed last_error field after ff_bmp_ctx freed --- src/format/image/bmp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/format/image/bmp.c b/src/format/image/bmp.c index fc9347a..5e63f0c 100644 --- a/src/format/image/bmp.c +++ b/src/format/image/bmp.c @@ -40,7 +40,6 @@ ff_result ff_open_bmp(ff_stream *stream, ff_bmp_ctx **out_ctx) if (ctx->raw->read == NULL) { ff_dprintf("bmp: stream failed to read\n"); free(ctx); - ctx->last_error = FF_RESULT_ERROR_READ_FILE_FAILURE; return FF_RESULT_ERROR_READ_FILE_FAILURE; } -- cgit v1.2.3