From 854ebd647c7a77f7776295334b87b8547e15ea98 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 1 Nov 2011 22:17:49 +0000 Subject: [PATCH] Small correction of rev 4416 --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/spc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index ded8dd1..826ef04 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.10.31.164236" +#define Cdrskin_timestamP "2011.11.01.221713" diff --git a/libburn/spc.c b/libburn/spc.c index ee5237e..fb18b7b 100644 --- a/libburn/spc.c +++ b/libburn/spc.c @@ -445,9 +445,9 @@ static int spc_sense_caps_al(struct burn_drive *d, int *alloc_len, int flag) m->cur_read_speed = page[14] * 256 + page[15]; m->max_write_speed = m->cur_write_speed = 0; - if (page_length >= 20) + if (page_length >= 18) /* note: page length is page size - 2 */ m->max_write_speed = page[18] * 256 + page[19]; - if (page_length >= 22) + if (page_length >= 20) m->cur_write_speed = page[20] * 256 + page[21]; /* ts A61021 : New field to be set by atip (or following MMC-3 info) */