Removed isoburn_write_opts_set_start_byte()

This commit is contained in:
Thomas Schmitt 2007-09-12 09:37:17 +00:00
parent cc8f87a476
commit d1ceff08d1

View File

@ -296,9 +296,13 @@ void isoburn_disc_write(struct burn_write_opts *opts, struct burn_disc *disc)
ret= isoburn_find_emulator(&o, drive, 0);
if(ret<0)
return;
if(o!=NULL)
if(o->emulation_mode!=0)
if(o!=NULL) {
if(o->emulation_mode!=0) {
multi= 0;
if(o->emulation_mode>0 && o->nwa >= 0)
burn_write_opts_set_start_byte(opts, ((off_t) o->nwa) * (off_t) 2048);
}
}
burn_write_opts_set_multi(opts, multi);
burn_disc_write(opts, disc);
}
@ -368,6 +372,8 @@ ex:
}
#ifdef Libburn_obsoleted_on_its_way_ouT
void isoburn_write_opts_set_start_byte(struct burn_write_opts *opts,
off_t value)
{
@ -385,4 +391,5 @@ void isoburn_write_opts_set_start_byte(struct burn_write_opts *opts,
burn_write_opts_set_start_byte(opts, ((off_t) o->nwa) * (off_t) 2048);
}
#endif /* Libburn_obsoleted_on_its_way_ouT */