API for volset read, burn_disc creation and sync. write.
Updating of isoburn_start_emulation() to make use of new isoburn_set_start_byte().
This commit is contained in:
@ -134,16 +134,11 @@ int isoburn_start_emulation(struct isoburn *o, int flag)
|
||||
/* ok, PVM found, set size */
|
||||
size = (off_t) iso_read_lsb(pvm->vol_space_size, 4);
|
||||
size *= (off_t) 2048; /* block size in bytes */
|
||||
|
||||
// TODO where I get the struct burn_write_opts * from?
|
||||
// why that function doesn't receive a struct isoburn
|
||||
isoburn_write_opts_set_start_byte(XXXXXX, size);
|
||||
isoburn_set_start_byte(o, size, 0);
|
||||
} else if (!strncmp((char*)pvm->std_identifier, "CDXX1", 5)) {
|
||||
|
||||
/* empty image */
|
||||
// TODO where I get the struct burn_write_opts * from?
|
||||
// why that function doesn't receive a struct isoburn
|
||||
isoburn_write_opts_set_start_byte(XXXXXX, (off_t) 0);
|
||||
isoburn_set_start_byte(o, (off_t) 0, 0);
|
||||
} else {
|
||||
// TODO not valid iso image
|
||||
// should this be an error?
|
||||
|
Reference in New Issue
Block a user