From d385730ebdee261cbf69f33de03ba35b58d98f57 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 8 Nov 2009 11:08:19 +0000 Subject: [PATCH] Corrected allocation length with GET CONFIGURATION --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/mmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 1bb980da..6315268a 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2009.11.05.170409" +#define Cdrskin_timestamP "2009.11.08.120917" diff --git a/libburn/trunk/libburn/mmc.c b/libburn/trunk/libburn/mmc.c index 14c4a674..ee57acf7 100644 --- a/libburn/trunk/libburn/mmc.c +++ b/libburn/trunk/libburn/mmc.c @@ -2376,7 +2376,7 @@ static int mmc_get_configuration_al(struct burn_drive *d, int *alloc_len) return 0; } old_alloc_len = *alloc_len; - *alloc_len = len = mmc_four_char_to_int(c.page->data); + *alloc_len = len = mmc_four_char_to_int(c.page->data) + 4; if (len > old_alloc_len) len = old_alloc_len; if (len < 8 || len > 4096)