diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index c5cb8d26..09355353 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.03.15.195534" +#define Cdrskin_timestamP "2007.03.24.093238" diff --git a/libburn/trunk/libburn/drive.c b/libburn/trunk/libburn/drive.c index 5d0de12c..a2fa83b5 100644 --- a/libburn/trunk/libburn/drive.c +++ b/libburn/trunk/libburn/drive.c @@ -1458,10 +1458,12 @@ off_t burn_disc_available_space(struct burn_drive *d, d->send_write_parameters(d, o); d->get_nwa(d, -1, &lba, &nwa); ex:; - if (o->start_byte > 0) { - if (o->start_byte > d->media_capacity_remaining) - return 0; - return d->media_capacity_remaining - o->start_byte; + if (o != NULL) { + if (o->start_byte > 0) { + if (o->start_byte > d->media_capacity_remaining) + return 0; + return d->media_capacity_remaining - o->start_byte; + } } return d->media_capacity_remaining; }