Fixed data spoiling bug with ring buffer introduced with rev 1155

This commit is contained in:
Thomas Schmitt 2007-10-05 23:15:25 +00:00
parent ee7fcf7522
commit a63d9b11c4
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2007.10.05.085929"
#define Cdrskin_timestamP "2007.10.05.231712"

View File

@ -469,7 +469,7 @@ int burn_fifo_source_shoveller_ng(struct burn_source *source, int flag)
}
/* Obtain next chunk */
ret = fs->inp->read(fs->inp, (unsigned char *) fs->buf,
ret = fs->inp->read(fs->inp, (unsigned char *) bufpt,
fs->chunksize);
if (ret > 0)
fs->in_counter += ret;