[MPlayer-cvslog] r31385 - in trunk: input/input.c input/input.h mplayer.c

reimar subversion at mplayerhq.hu
Sun Jun 13 19:10:52 CEST 2010


Author: reimar
Date: Sun Jun 13 19:10:52 2010
New Revision: 31385

Log:
Remove unused mp_input_init parameter.

Modified:
   trunk/input/input.c
   trunk/input/input.h
   trunk/mplayer.c

Modified: trunk/input/input.c
==============================================================================
--- trunk/input/input.c	Sun Jun 13 15:40:18 2010	(r31384)
+++ trunk/input/input.c	Sun Jun 13 19:10:52 2010	(r31385)
@@ -1710,7 +1710,7 @@ mp_input_get_section(void) {
 }
 
 void
-mp_input_init(int use_gui) {
+mp_input_init(void) {
   char* file;
 
   file = config_file[0] != '/' ? get_path(config_file) : config_file;

Modified: trunk/input/input.h
==============================================================================
--- trunk/input/input.h	Sun Jun 13 15:40:18 2010	(r31384)
+++ trunk/input/input.h	Sun Jun 13 19:10:52 2010	(r31385)
@@ -311,7 +311,7 @@ mp_input_get_section(void);
 
 // When you create a new driver you should add it in these 2 functions.
 void
-mp_input_init(int use_gui);
+mp_input_init(void);
 
 void
 mp_input_uninit(void);

Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	Sun Jun 13 15:40:18 2010	(r31384)
+++ trunk/mplayer.c	Sun Jun 13 19:10:52 2010	(r31385)
@@ -2982,7 +2982,7 @@ if(!codecs_file || !parse_codec_cfg(code
 
 // Init input system
 current_module = "init_input";
-mp_input_init(use_gui);
+mp_input_init();
   mp_input_add_key_fd(-1,0,mplayer_get_key,NULL);
 if(slave_mode)
   mp_input_add_cmd_fd(0,USE_SELECT,MP_INPUT_SLAVE_CMD_FUNC,NULL);


More information about the MPlayer-cvslog mailing list