mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Change bitfield to unsigned so that we get the usual truth values
(1 = true, 0 = false) instead of -1 for true. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24160 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -495,12 +495,12 @@ typedef struct mp_input_fd {
|
||||
int fd;
|
||||
void* read_func;
|
||||
mp_close_func_t close_func;
|
||||
int eof : 1;
|
||||
int drop : 1;
|
||||
int dead : 1;
|
||||
int got_cmd : 1;
|
||||
int no_select : 1;
|
||||
int no_readfunc_retval : 1;
|
||||
unsigned eof : 1;
|
||||
unsigned drop : 1;
|
||||
unsigned dead : 1;
|
||||
unsigned got_cmd : 1;
|
||||
unsigned no_select : 1;
|
||||
unsigned no_readfunc_retval : 1;
|
||||
// These fields are for the cmd fds.
|
||||
char* buffer;
|
||||
int pos,size;
|
||||
|
||||
Reference in New Issue
Block a user