From 295fa1d526d40a450d3ab57ba20706345059dc4c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 28 Feb 2010 11:06:02 +0000 Subject: [PATCH] Bug fix: cdrskin fs=0 lead to SIGSEGV. Regression introduced by revision 2936. --- cdrskin/cdrskin.c | 2 +- cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index bd0b18c..199f72c 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -1796,7 +1796,6 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno, Cdrskin_get_fifo_par(track->boss, &fifo_enabled, &fifo_size, &fifo_start_at, 0); - fd_src= src; if(track->track_type == BURN_AUDIO) chunksize= 2352; @@ -1806,6 +1805,7 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno, chunksize= 2048; chunks= fifo_size / chunksize; if(chunks > 1 && fifo_enabled) { + fd_src= src; src= burn_fifo_source_new(fd_src, chunksize, chunks, (chunksize * chunks >= 128 * 1024)); if((flag & 1) || src == NULL) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 13bebd9..e9786fb 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2010.02.28.104003" +#define Cdrskin_timestamP "2010.02.28.110749"