From 4fd7faa6369153d4411617ac27abdd8912898b92 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 29 May 2012 21:20:42 +0200 Subject: [PATCH] Fixed a bug about APM that was introduced with rev 968. Found by Vladimir. --- libisofs/system_area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/system_area.c b/libisofs/system_area.c index 43e82ff..c67021f 100644 --- a/libisofs/system_area.c +++ b/libisofs/system_area.c @@ -747,7 +747,7 @@ static int iso_write_apm_entry(Ecma119Image *t, int apm_block_size, uint8_t *wpt; int block_fac; - block_fac = apm_block_size / 512; + block_fac = 2048 / apm_block_size; memset(buf, apm_block_size, 0); wpt = buf;