From f6fc14de13fad683ed73ca8a94d0a67af0b0c542 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 6 Oct 2011 08:59:52 +0000 Subject: [PATCH] Now unconditional: Cdrskin_libburn_has_track_set_sizE --- cdrskin/cdrskin.c | 11 ++--------- cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index 46ab4b4..7eb1516 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -220,7 +220,7 @@ or /* 0.3.6 */ #define Cdrskin_libburn_preset_device_familY 1 -#define Cdrskin_libburn_has_track_set_sizE 1 +/* Cdrskin_libburn_has_track_set_sizE */ /* 0.3.8 */ /* Cdrskin_libburn_has_set_waitinG */ @@ -1306,15 +1306,8 @@ int Cdrtrack_activate_image_size(struct CdrtracK *track, double *size_used, return(0); track->fixed_size= *size_used; track->use_data_image_size= 2; - if(track->libburn_track!=NULL) { -#ifdef Cdrskin_libburn_has_track_set_sizE + if(track->libburn_track!=NULL) burn_track_set_size(track->libburn_track, (off_t) *size_used); -#else - fprintf(stderr, - "cdrskin: SORRY : libburn version is too old for -isosize\n"); - return(0); -#endif - } /* man cdrecord prescribes automatic -pad with -isosize. cdrskin obeys only if the current padding is less than that. */ if(track->padding<15*2048) { diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 6917ed0..4be2f54 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2011.10.06.085713" +#define Cdrskin_timestamP "2011.10.06.085848"