Commit 295fa1d5 authored by Thomas Schmitt's avatar Thomas Schmitt

Bug fix: cdrskin fs=0 lead to SIGSEGV. Regression introduced by revision 2936.

parent 99bba3e9
......@@ -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)
......
#define Cdrskin_timestamP "2010.02.28.104003"
#define Cdrskin_timestamP "2010.02.28.110749"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment