Corrected strange behavior with non-ISO images on overwriteable media

This commit is contained in:
2008-05-13 13:52:33 +00:00
parent 6bc2d3e0a3
commit 5f5b0c7016
7 changed files with 38 additions and 18 deletions

View File

@@ -121,7 +121,7 @@ int isoburn_new(struct isoburn **objpt, int flag)
o->fabricated_disc_status= BURN_DISC_UNREADY;
o->toc= NULL;
o->wrote_well= -1;
for(i=0;i<65536;i++)
for(i=0;i<Libisoburn_target_head_sizE;i++)
o->target_iso_head[i]= 0;
o->image= NULL;
o->read_pacifier= NULL;