Avoided to report negative burn_multi_caps.start_range_high with DVD-RW

This commit is contained in:
Thomas Schmitt 2008-05-06 08:24:11 +00:00
parent ec38a4f967
commit 07089e473d
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.04.27.140144"
#define Cdrskin_timestamP "2008.05.06.082429"

View File

@ -2193,6 +2193,8 @@ int burn_disc_get_multi_caps(struct burn_drive *d, enum burn_write_types wt,
}
if (i >= num_formats) /* not expandable */
o->start_range_high -= 32 * 1024;
if (o->start_range_high < 0)
o->start_range_high = 0;
} else {
o->start_alignment = 2 * 1024;
if (d->best_format_size - 2048 >