Fixed bug, blank discs also need a volset in truct isbourn.
This commit is contained in:
parent
17f81ef2fd
commit
7e17d32233
@ -86,7 +86,7 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt
|
||||
return 0;
|
||||
|
||||
if (!o) {
|
||||
return -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
status = isoburn_disc_get_status(d);
|
||||
@ -109,6 +109,8 @@ int isoburn_read_volset(struct burn_drive *d, struct isoburn_read_opts *read_opt
|
||||
*volset = iso_volset_new(volume, "NEW VOLSET");
|
||||
if (!*volset)
|
||||
return -1;
|
||||
|
||||
o->target_volset = *volset;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user