Browse Source

Avoided to create track without toc_entry from "hidden first track" on CD

tags/ZeroEightTwo
Thomas Schmitt 10 years ago
parent
commit
8b1b3f08c6
2 changed files with 8 additions and 2 deletions
  1. +1
    -1
      cdrskin/cdrskin_timestamp.h
  2. +7
    -1
      libburn/mmc.c

+ 1
- 1
cdrskin/cdrskin_timestamp.h View File

@@ -1 +1 @@
#define Cdrskin_timestamP "2010.04.09.104907"
#define Cdrskin_timestamP "2010.04.30.180350"

+ 7
- 1
libburn/mmc.c View File

@@ -1400,6 +1400,11 @@ static int mmc_read_toc_al(struct burn_drive *d, int *alloc_len)
fprintf(stderr, "libburn_experimental: toc entry #%d : %d %d %d\n",i,tdata[8], tdata[9], tdata[10]);
*/

#ifdef Libburn_allow_first_hiddeN
/* ts B00430 : this causes problems because the track has
no entry. One would have to coordinate this
with other parts of libburn.
*/
if (tdata[3] == 1) {
if (burn_msf_to_lba(tdata[8], tdata[9], tdata[10])) {
d->disc->session[0]->hidefirst = 1;
@@ -1408,9 +1413,10 @@ static int mmc_read_toc_al(struct burn_drive *d, int *alloc_len)
session[tdata[0] - 1],
track, BURN_POS_END);
burn_track_free(track);

}
}
#endif /* Libburn_allow_first_hiddeN */

if (tdata[0] <= 0 || tdata[0] > d->disc->sessions)
tdata[0] = d->disc->sessions;
if (tdata[3] < 100 && tdata[0] > 0) {


Loading…
Cancel
Save