Browse Source

Silenced an error message with input that is not aligned to 2 kB

1.0.6
Thomas Schmitt 10 years ago
parent
commit
a088a85374
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 3
      libburn/sector.c

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2011.03.18.153326"
#define Cdrskin_timestamP "2011.03.19.222152"

3
libburn/sector.c

@ -182,7 +182,8 @@ static void get_bytes(struct burn_track *track, int count, unsigned char *data)
/* ts A61031 - B10103 */
if (shortage >= count)
track->track_data_done = 1;
if (track->end_on_premature_eoi && !track->open_ended) {
if (track->end_on_premature_eoi && shortage >= count &&
!track->open_ended) {
char msg[80];
/* Memorize that premature end of input happened */
sprintf(msg,

Loading…
Cancel
Save