[MPlayer-cvslog] r24160 - trunk/input/input.c
reimar
subversion at mplayerhq.hu
Sat Aug 25 11:27:43 CEST 2007
Author: reimar
Date: Sat Aug 25 11:27:43 2007
New Revision: 24160
Log:
Change bitfield to unsigned so that we get the usual truth values
(1 = true, 0 = false) instead of -1 for true.
Modified:
trunk/input/input.c
Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c (original)
+++ trunk/input/input.c Sat Aug 25 11:27:43 2007
@@ -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;
More information about the MPlayer-cvslog
mailing list