Bug fix: CD tracks were perceived 2 sectors too short. Nice with TAO, bad with SAO.

1.2.4
Thomas Schmitt 11 years ago
parent 577d34e931
commit 5ab84314c0
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 4
      libburn/structure.c

@ -1 +1 @@
#define Cdrskin_timestamP "2012.06.17.173420"
#define Cdrskin_timestamP "2012.07.08.103007"

@ -794,7 +794,9 @@ int burn_disc_cd_toc_extensions(struct burn_drive *drive, int flag)
if (ret > 0) {
ret = mmc_four_char_to_int(
buf->data + 24);
if (ret < prev_entry->track_blocks)
if (ret < prev_entry->track_blocks &&
((!drive->current_is_cd_profile) ||
ret < prev_entry->track_blocks - 2))
prev_entry->track_blocks = ret;
}
prev_entry->extensions_valid |= 1;

Loading…
Cancel
Save