diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index e1cd557..efd1945 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.07.12.110306" +#define Cdrskin_timestamP "2011.07.12.110405" diff --git a/libburn/read.c b/libburn/read.c index 954a9f1..0527aa1 100644 --- a/libburn/read.c +++ b/libburn/read.c @@ -205,9 +205,11 @@ void burn_packet_process(struct burn_drive *d, unsigned char *data, const struct burn_read_opts *o) { unsigned char sub[96]; - unsigned short crc; int ptr = 2352, i, j, code, fb; int audio = 1; +#ifndef Libburn_no_crc_C + unsigned short crc; +#endif if (o->c2errors) { fb = bitcount(data + ptr, 294); @@ -253,9 +255,9 @@ void burn_packet_process(struct burn_drive *d, unsigned char *data, } } } - crc = (*(sub + 22) << 8) + *(sub + 23); #ifndef Libburn_no_crc_C + crc = (*(sub + 22) << 8) + *(sub + 23); if (crc != crc_ccitt(sub + 12, 10)) { burn_print(1, "sending error on %s %s\n", d->idata->vendor, d->idata->product);