Mercurial > mplayer.hg
comparison mplayer.c @ 19808:5385740067a1
* remove extern definitions of functions in .c files
* create new .h files where necessary
todo:
* go trough other files than mplayer.c
* vf_menu_pause_update()
* mp_input_register_options()
* import_playtree_playlist_into_gui()
* import_initial_playtree_into_gui()
For more infos see http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-September/045683.html
( 20060902133225.2cc82aec.attila@kinali.ch on -dev-eng )
author | attila |
---|---|
date | Tue, 12 Sep 2006 16:24:23 +0000 |
parents | 109e241c0cca |
children | 10f36060390a |
comparison
equal
deleted
inserted
replaced
19807:dce54e7ba7a5 | 19808:5385740067a1 |
---|---|
83 | 83 |
84 #include "input/input.h" | 84 #include "input/input.h" |
85 | 85 |
86 int slave_mode=0; | 86 int slave_mode=0; |
87 int player_idle_mode=0; | 87 int player_idle_mode=0; |
88 extern int verbose; | |
89 int quiet=0; | 88 int quiet=0; |
90 | 89 |
91 #ifdef WIN32 | 90 #ifdef WIN32 |
92 char * proc_priority=NULL; | 91 char * proc_priority=NULL; |
93 #endif | 92 #endif |
114 | 113 |
115 #ifdef HAS_DVBIN_SUPPORT | 114 #ifdef HAS_DVBIN_SUPPORT |
116 #include "stream/dvbin.h" | 115 #include "stream/dvbin.h" |
117 static int last_dvb_step = 1; | 116 static int last_dvb_step = 1; |
118 static int dvbin_reopen = 0; | 117 static int dvbin_reopen = 0; |
119 extern void cache_uninit(stream_t *s); | 118 #include "stream/cache2.h" |
120 #endif | 119 #endif |
121 | 120 |
122 //**************************************************************************// | 121 //**************************************************************************// |
123 // Playtree | 122 // Playtree |
124 //**************************************************************************// | 123 //**************************************************************************// |
142 #define PT_UP_PREV -3 | 141 #define PT_UP_PREV -3 |
143 | 142 |
144 //**************************************************************************// | 143 //**************************************************************************// |
145 // Config | 144 // Config |
146 //**************************************************************************// | 145 //**************************************************************************// |
146 #include "parser-cfg.h" | |
147 #include "parser-mpcmd.h" | |
148 | |
147 m_config_t* mconfig; | 149 m_config_t* mconfig; |
148 | |
149 extern play_tree_t* | |
150 m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv); | |
151 extern int | |
152 m_config_parse_config_file(m_config_t* config, char *conffile); | |
153 | 150 |
154 //**************************************************************************// | 151 //**************************************************************************// |
155 // Config file | 152 // Config file |
156 //**************************************************************************// | 153 //**************************************************************************// |
157 | 154 |
191 #include "libmpcodecs/dec_audio.h" | 188 #include "libmpcodecs/dec_audio.h" |
192 #include "libmpcodecs/dec_video.h" | 189 #include "libmpcodecs/dec_video.h" |
193 #include "libmpcodecs/mp_image.h" | 190 #include "libmpcodecs/mp_image.h" |
194 #include "libmpcodecs/vf.h" | 191 #include "libmpcodecs/vf.h" |
195 #include "libmpcodecs/vd.h" | 192 #include "libmpcodecs/vd.h" |
196 | |
197 extern void vf_list_plugins(void); | |
198 | 193 |
199 //**************************************************************************// | 194 //**************************************************************************// |
200 //**************************************************************************// | 195 //**************************************************************************// |
201 | 196 |
202 // Common FIFO functions, and keyboard/event FIFO code | 197 // Common FIFO functions, and keyboard/event FIFO code |
802 } | 797 } |
803 #endif | 798 #endif |
804 } | 799 } |
805 exit_player(NULL); | 800 exit_player(NULL); |
806 } | 801 } |
807 | |
808 //extern void write_avi_header_1(FILE *f,int fcc,float fps,int width,int height); | |
809 | 802 |
810 extern void mp_input_register_options(m_config_t* cfg); | 803 extern void mp_input_register_options(m_config_t* cfg); |
811 | 804 |
812 #include "mixer.h" | 805 #include "mixer.h" |
813 mixer_t mixer; | 806 mixer_t mixer; |