Made Xorriso_adjust_relocated_sb() ready for long block adresses
This commit is contained in:
parent
2d8678a11b
commit
5de4a8dd45
@ -3603,7 +3603,8 @@ int Xorriso_adjust_relocated_sb(struct XorrisO *xorriso,
|
||||
char **sb_buffer,
|
||||
int flag)
|
||||
{
|
||||
int ret, old_size, i, vd_end, checksum_block= -1;
|
||||
int ret, i, vd_end, checksum_block= -1;
|
||||
off_t old_size;
|
||||
char *buffer, *checksum= NULL;
|
||||
|
||||
*sb_buffer= NULL;
|
||||
@ -3611,7 +3612,7 @@ int Xorriso_adjust_relocated_sb(struct XorrisO *xorriso,
|
||||
buffer= *sb_buffer;
|
||||
Xorriso_alloc_meM(checksum, char, 2048);
|
||||
|
||||
ret= isoburn_read_iso_head(drive, 0, &old_size, buffer, 2);
|
||||
ret= isoburn_read_iso_head_v2(drive, 0, &old_size, buffer, 2);
|
||||
if(ret <= 0)
|
||||
goto ex;
|
||||
ret= Xorriso_find_sb_checksum(xorriso, buffer, &vd_end, 0);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2024.03.23.183351"
|
||||
#define Xorriso_timestamP "2024.03.23.212004"
|
||||
|
Loading…
Reference in New Issue
Block a user