Repaired debugging message spoiled by uninitialized variable

This commit is contained in:
Thomas Schmitt 2007-02-15 20:35:57 +00:00
parent a21c2a5138
commit d272450a70
2 changed files with 10 additions and 10 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.02.15.201757" #define Cdrskin_timestamP "2007.02.15.203448"

View File

@ -966,6 +966,15 @@ int burn_dvd_write_track(struct burn_write_opts *o,
/* ts A70213 : eventually expand size of track to max */ /* ts A70213 : eventually expand size of track to max */
burn_track_apply_fillup(t, d->media_capacity_remaining, 0); burn_track_apply_fillup(t, d->media_capacity_remaining, 0);
if (d->current_profile == 0x11 || d->current_profile == 0x14) {
/* DVD-R, DVD-RW Sequential */
ret = burn_disc_open_track_dvd_minus_r(o, s, tnum);
if (ret <= 0)
goto ex;
}
sectors = burn_track_get_sectors(t);
open_ended = burn_track_is_open_ended(t);
/* <<< */ /* <<< */
{ {
char msg[160]; char msg[160];
@ -980,15 +989,6 @@ int burn_dvd_write_track(struct burn_write_opts *o,
msg,0,0); msg,0,0);
} }
if (d->current_profile == 0x11 || d->current_profile == 0x14) {
/* DVD-R, DVD-RW Sequential */
ret = burn_disc_open_track_dvd_minus_r(o, s, tnum);
if (ret <= 0)
goto ex;
}
sectors = burn_track_get_sectors(t);
open_ended = burn_track_is_open_ended(t);
/* >>> ts A70215 : what about offset padding ? */ /* >>> ts A70215 : what about offset padding ? */