Silenced an error message with input that is not aligned to 2 kB
This commit is contained in:
parent
0f79047c75
commit
b697ee8022
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2011.03.18.153326"
|
#define Cdrskin_timestamP "2011.03.19.222152"
|
||||||
|
@ -182,7 +182,8 @@ static void get_bytes(struct burn_track *track, int count, unsigned char *data)
|
|||||||
/* ts A61031 - B10103 */
|
/* ts A61031 - B10103 */
|
||||||
if (shortage >= count)
|
if (shortage >= count)
|
||||||
track->track_data_done = 1;
|
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];
|
char msg[80];
|
||||||
/* Memorize that premature end of input happened */
|
/* Memorize that premature end of input happened */
|
||||||
sprintf(msg,
|
sprintf(msg,
|
||||||
|
Loading…
Reference in New Issue
Block a user