Bug fix: cdrskin fs=0 lead to SIGSEGV. Regression introduced by revision 2936.
This commit is contained in:
parent
99bba3e98e
commit
295fa1d526
@ -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,
|
Cdrskin_get_fifo_par(track->boss, &fifo_enabled, &fifo_size, &fifo_start_at,
|
||||||
0);
|
0);
|
||||||
fd_src= src;
|
|
||||||
|
|
||||||
if(track->track_type == BURN_AUDIO)
|
if(track->track_type == BURN_AUDIO)
|
||||||
chunksize= 2352;
|
chunksize= 2352;
|
||||||
@ -1806,6 +1805,7 @@ int Cdrtrack_add_to_session(struct CdrtracK *track, int trackno,
|
|||||||
chunksize= 2048;
|
chunksize= 2048;
|
||||||
chunks= fifo_size / chunksize;
|
chunks= fifo_size / chunksize;
|
||||||
if(chunks > 1 && fifo_enabled) {
|
if(chunks > 1 && fifo_enabled) {
|
||||||
|
fd_src= src;
|
||||||
src= burn_fifo_source_new(fd_src, chunksize, chunks,
|
src= burn_fifo_source_new(fd_src, chunksize, chunks,
|
||||||
(chunksize * chunks >= 128 * 1024));
|
(chunksize * chunks >= 128 * 1024));
|
||||||
if((flag & 1) || src == NULL)
|
if((flag & 1) || src == NULL)
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2010.02.28.104003"
|
#define Cdrskin_timestamP "2010.02.28.110749"
|
||||||
|
Loading…
Reference in New Issue
Block a user