Bug fix: Padding as of iso_write_opts_set_tail_blocks() was added only

after cylinder alignment as of iso_write_opts_set_system_area()
         and thus spoiled this alignment.
This commit is contained in:
Thomas Schmitt 2011-06-15 17:09:48 +02:00
parent 2835fccfa4
commit 35cfb756be
1 changed files with 1 additions and 1 deletions

View File

@ -856,7 +856,7 @@ int iso_align_isohybrid(Ecma119Image *t, int flag)
{ret = ISO_SUCCESS; goto ex;}
always_align = (t->system_area_options >> 8) & 3;
img_blocks = t->curblock;
img_blocks = t->curblock + t->tail_blocks;
imgsize = ((off_t) img_blocks) * (off_t) 2048;
if (((t->system_area_options & 3) || always_align)
&& (off_t) (t->partition_heads_per_cyl * t->partition_secs_per_head