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

Bu işleme şunda yer alıyor:
Thomas Schmitt 2010-04-30 18:04:47 +00:00
ebeveyn e332f4a438
işleme 8b1b3f08c6
2 değiştirilmiş dosya ile 8 ekleme ve 2 silme

Dosyayı Görüntüle

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

Dosyayı Görüntüle

@ -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) {