[MPlayer-cvslog] r24161 - trunk/input/input.c
reimar
subversion at mplayerhq.hu
Sat Aug 25 11:29:27 CEST 2007
Author: reimar
Date: Sat Aug 25 11:29:27 2007
New Revision: 24161
Log:
Revert r24158, it is not necessary with unsigned bitfield
Modified:
trunk/input/input.c
Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c (original)
+++ trunk/input/input.c Sat Aug 25 11:29:27 2007
@@ -609,8 +609,7 @@ mp_input_add_cmd_fd(int fd, int select,
cmd_fds[num_cmd_fd].fd = fd;
cmd_fds[num_cmd_fd].read_func = read_func ? read_func : mp_input_default_cmd_func;
cmd_fds[num_cmd_fd].close_func = close_func;
- if (!select)
- cmd_fds[num_cmd_fd].no_select = 1;
+ cmd_fds[num_cmd_fd].no_select = !select;
num_cmd_fd++;
return 1;
@@ -669,8 +668,7 @@ mp_input_add_key_fd(int fd, int select,
key_fds[num_key_fd].fd = fd;
key_fds[num_key_fd].read_func = read_func;
key_fds[num_key_fd].close_func = close_func;
- if (!select)
- key_fds[num_key_fd].no_select = 1;
+ key_fds[num_key_fd].no_select = !select;
num_key_fd++;
return 1;
More information about the MPlayer-cvslog
mailing list