Fixed undefined track_type introduced by revision 20

This commit is contained in:
Thomas Schmitt 2006-08-24 19:23:09 +00:00
parent fa4e4143f7
commit 176e1654ff

View File

@ -679,7 +679,7 @@ int Cdrtrack_new(struct CdrtracK **track, struct CdrskiN *boss,
o->source_fd= -1; o->source_fd= -1;
o->fixed_size= 0.0; o->fixed_size= 0.0;
o->padding= 0.0; o->padding= 0.0;
o->track_type= 0; o->track_type= BURN_MODE1;
o->fifo_enabled= 0; o->fifo_enabled= 0;
o->fifo= NULL; o->fifo= NULL;
o->fifo_outlet_fd= -1; o->fifo_outlet_fd= -1;
@ -1834,6 +1834,7 @@ int Cdrskin_new(struct CdrskiN **skin, struct CdrpreskiN *preskin, int flag)
o->fixed_size= 0.0; o->fixed_size= 0.0;
o->padding= 0.0; o->padding= 0.0;
o->set_by_padsize= 0; o->set_by_padsize= 0;
o->track_type= BURN_MODE1;
for(i=0;i<Cdrskin_track_maX;i++) for(i=0;i<Cdrskin_track_maX;i++)
o->tracklist[i]= NULL; o->tracklist[i]= NULL;
o->track_counter= 0; o->track_counter= 0;