From 3e7c3985b55bc10c54a22e3407c3750a899b6c40 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 5 Oct 2007 23:15:25 +0000 Subject: [PATCH] Fixed data spoiling bug with ring buffer introduced with rev 1155 --- libburn/trunk/cdrskin/cdrskin_timestamp.h | 2 +- libburn/trunk/libburn/file.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libburn/trunk/cdrskin/cdrskin_timestamp.h b/libburn/trunk/cdrskin/cdrskin_timestamp.h index 1f402f2f..31fc8505 100644 --- a/libburn/trunk/cdrskin/cdrskin_timestamp.h +++ b/libburn/trunk/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2007.10.05.085929" +#define Cdrskin_timestamP "2007.10.05.231712" diff --git a/libburn/trunk/libburn/file.c b/libburn/trunk/libburn/file.c index 8f98a691..2cc6991b 100644 --- a/libburn/trunk/libburn/file.c +++ b/libburn/trunk/libburn/file.c @@ -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;