Bug fix: Since 1.0.6: Unreadable image produced by: xorrisofs ... >image.iso
This commit is contained in:
@@ -519,6 +519,8 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
||||
ret= isoburn_adjust_target_iso_head(out_o, opts->partition_offset, 0);
|
||||
if(ret <= 0)
|
||||
{ret= -1; goto ex;}
|
||||
if(out_o->nwa < out_o->zero_nwa)
|
||||
out_o->zero_nwa= 0;
|
||||
if(opts->no_emul_toc || opts->libjte_handle != NULL) {
|
||||
if(out_o->nwa == out_o->zero_nwa &&
|
||||
out_o->zero_nwa == Libisoburn_overwriteable_starT
|
||||
@@ -535,6 +537,12 @@ int isoburn_prepare_disc_aux(struct burn_drive *in_d, struct burn_drive *out_d,
|
||||
if (ret != 1) {
|
||||
isoburn_msgs_submit(out_o, 0x00060000,
|
||||
"Cannot determine next writeable address", 0, "FAILURE", 0);
|
||||
|
||||
/* >>> NWA_V : If burn_next_track_damaged:
|
||||
??? Close track and session ?
|
||||
??? Issue a hint for a repair command ?
|
||||
*/;
|
||||
|
||||
{ret= -3; goto ex;}
|
||||
}
|
||||
iso_write_opts_set_ms_block(wopts, nwa);
|
||||
|
Reference in New Issue
Block a user