Corrected status reply for unstarted fifo
This commit is contained in:
parent
a63d9b11c4
commit
f4fe30ec6c
@ -1 +1 @@
|
||||
#define Cdrskin_timestamP "2007.10.05.231712"
|
||||
#define Cdrskin_timestamP "2007.10.07.110506"
|
||||
|
@ -660,13 +660,14 @@ int burn_fifo_inquire_status(struct burn_source *source,
|
||||
*free_bytes = diff - 1;
|
||||
else
|
||||
*free_bytes = (*size - wpos) + rpos - 1;
|
||||
if (fs->end_of_consumption == 1)
|
||||
ret = 0;
|
||||
if (fs->end_of_consumption > 0)
|
||||
ret |= 4;
|
||||
if (fs->input_error)
|
||||
ret |= 3;
|
||||
else if (fs->end_of_input)
|
||||
ret |= 2;
|
||||
else
|
||||
else if(fs->buf != NULL)
|
||||
ret |= 1;
|
||||
*status_text = states[ret];
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user