mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-29 05:55:30 -04:00
[cmp] update Bled to latest
* Adds the provision of default buffer size in bled_init()
This commit is contained in:
parent
c717c7789b
commit
c47ee4c435
10 changed files with 31 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue