[cmp] update Bled to latest

* Adds the provision of default buffer size in bled_init()
This commit is contained in:
Pete Batard 2023-06-30 13:05:42 +01:00
parent c717c7789b
commit c47ee4c435
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
10 changed files with 31 additions and 20 deletions

View file

@ -211,7 +211,7 @@ static BOOL IsCompressedBootableImage(const char* path)
if (buf == NULL)
return FALSE;
FormatStatus = 0;
bled_init(uprintf, NULL, NULL, NULL, NULL, &FormatStatus);
bled_init(0, uprintf, NULL, NULL, NULL, NULL, &FormatStatus);
dc = bled_uncompress_to_buffer(path, (char*)buf, MBR_SIZE, file_assoc[i].type);
bled_exit();
if (dc != MBR_SIZE) {