[MPlayer-cvslog] r24061 - trunk/mplayer.c

uau subversion at mplayerhq.hu
Wed Aug 15 06:50:55 CEST 2007


Author: uau
Date: Wed Aug 15 06:50:55 2007
New Revision: 24061

Log:
Remove pointless #ifdef

No need to mark stdin non-select()able in the mp_input_add_key_fd call
when no HAVE_POSIX_SELECT; input.c won't use select() on anything if
that is not defined.


Modified:
   trunk/mplayer.c

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Wed Aug 15 06:50:55 2007
@@ -2603,11 +2603,7 @@ if(slave_mode)
   mp_input_add_cmd_fd(0,0,mp_input_win32_slave_cmd_func,NULL);
 #endif
 else if(!noconsolecontrols)
-#ifdef HAVE_POSIX_SELECT
   mp_input_add_key_fd(0,1,NULL,NULL);
-#else
-  mp_input_add_key_fd(0,0,NULL,NULL);
-#endif
 
 inited_flags|=INITED_INPUT;
 current_module = NULL;



More information about the MPlayer-cvslog mailing list