diff --git a/xorriso/write_run.c b/xorriso/write_run.c index 308cd086..504184fa 100644 --- a/xorriso/write_run.c +++ b/xorriso/write_run.c @@ -401,9 +401,9 @@ int Xorriso_set_system_area(struct XorrisO *xorriso, struct isoburn_imgen_opts *sopts, int flag) { - int ret, options, system_area_options, start_lba, image_blocks; + int ret, options, system_area_options; int sa_loaded, read_count, i, read_sum= 0; - off_t iso_lba= -1; + off_t iso_lba= -1, start_lba, image_blocks; char volid[33]; FILE *fp= NULL; char *buf= NULL, *bufpt= NULL, *intvl; @@ -471,10 +471,10 @@ int Xorriso_set_system_area(struct XorrisO *xorriso, (((unsigned int) ub[461]) << 24)); iso_lba= -1; - ret= isoburn_disc_get_msc1(in_drive, &start_lba); + ret= isoburn_disc_get_msc1_v2(in_drive, &start_lba); if(ret > 0) { - ret= isoburn_read_iso_head(in_drive, start_lba, &image_blocks, - volid, 1); + ret= isoburn_read_iso_head_v2(in_drive, start_lba, &image_blocks, + volid, 1); if(ret > 0) iso_lba= start_lba + image_blocks; } diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 7a5cf0e3..9ecbad4c 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2024.03.21.193959" +#define Xorriso_timestamP "2024.03.21.203354"