From 23d78673311c36ed87acfdff5f70945979b71ef9 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 1 Jan 2012 12:41:24 +0000 Subject: [PATCH] Corrected CTL of lead-in CUE SHEET entry --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/write.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 3e7fcdb..5f0c4df 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.12.31.120007" +#define Cdrskin_timestamP "2012.01.01.124121" diff --git a/libburn/write.c b/libburn/write.c index 2a283b8..07b921e 100644 --- a/libburn/write.c +++ b/libburn/write.c @@ -1,7 +1,7 @@ /* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */ /* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens - Copyright (c) 2006 - 2011 Thomas Schmitt + Copyright (c) 2006 - 2012 Thomas Schmitt Provided under GPL version 2 or later. */ @@ -297,10 +297,9 @@ int burn_write_close_session(struct burn_write_opts *o) } -/* ts A60819: - This is unused since about Feb 2006, icculus.org/burn CVS. - The compiler complains. We shall please our compiler. - # define Libburn_write_with_function_print_cuE +/* ts A60819, B20101: + This is useful only when changes about CD SAO get tested. + # define Libburn_write_with_function_print_cuE yes */ #ifdef Libburn_write_with_function_print_cuE @@ -525,7 +524,8 @@ struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o, It works with LBA -150 and data block type 0. Shrug. */ leadin_start = runtime; - ret = add_cue(sheet, ctladr | 1, 0, 0, leadin_form, 0, leadin_start); + ret = add_cue(sheet, (ctladr & 64) | 1, 0, 0, leadin_form, 0, + leadin_start); if (ret <= 0) goto failed;