Browse Source

Fixing SIGSEGV with CD SAO introduced with revision 2808

ZeroSevenTwo
Thomas Schmitt 12 years ago
parent
commit
82ee4c8788
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 10
      libburn/sector.c

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2009.09.13.095055"
#define Cdrskin_timestamP "2009.09.18.161214"

10
libburn/sector.c

@ -302,13 +302,15 @@ static int convert_data(struct burn_write_opts *o, struct burn_track *track,
if ((outmode & BURN_MODE_BITS) == (inmode & BURN_MODE_BITS)) {
/* see MMC-5 4.2.3.8.5.3 Block Format for Mode 2 form 1 Data
Table 24 Mode 2 Formed Sector Sub-header Format */
if (track->cdxa_conversion == 1)
inlen += 8;
if (track != NULL)
if (track->cdxa_conversion == 1)
inlen += 8;
get_bytes(track, inlen, data);
if (track->cdxa_conversion == 1)
memmove(data, data + 8, inlen - 8);
if (track != NULL)
if (track->cdxa_conversion == 1)
memmove(data, data + 8, inlen - 8);
return 1;
}

Loading…
Cancel
Save