Made Xorriso_adjust_relocated_sb() ready for long block adresses

This commit is contained in:
Thomas Schmitt 2024-03-23 22:21:43 +01:00
parent 2d8678a11b
commit 5de4a8dd45
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2024.03.23.183351"
#define Xorriso_timestamP "2024.03.23.212004"