From 4ff9053d68827547590cf2d279700244b63b4240 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 27 Oct 2009 10:06:43 +0000 Subject: [PATCH] Bug fix: burn_drive->disc_id or burn_drive->disc_app_code altered by stray 0. Thanks to George Danchev. --- 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 b954ad0e..1b5638dc 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2009.10.20.160131" +#define Cdrskin_timestamP "2009.10.27.100637" diff --git a/libburn/trunk/libburn/mmc.c b/libburn/trunk/libburn/mmc.c index 71405a21..f7884d01 100644 --- a/libburn/trunk/libburn/mmc.c +++ b/libburn/trunk/libburn/mmc.c @@ -1631,7 +1631,7 @@ static int mmc_read_disc_info_al(struct burn_drive *d, int *alloc_len) d->disc_info_valid |= (!!(data[7] & 128)) << 1; if (len + 2 > 31 && (data[7] & 64)) { memcpy(d->disc_bar_code, data + 24, 8); - d->disc_bar_code[9] = 0; + d->disc_bar_code[8] = 0; d->disc_info_valid |= 4; } if (len + 2 > 32 && (data[7] & 16)) {