From a6f7543bfb2bb39de957bc010108715401125ffc Mon Sep 17 00:00:00 2001 From: ods15 Date: Tue, 6 Dec 2005 11:59:14 +0000 Subject: 100l, codec-cfg needs fixing after -msgl patch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17112 b3059339-0415-0410-9bf9-f77b7e298cf2 --- codec-cfg.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'codec-cfg.c') diff --git a/codec-cfg.c b/codec-cfg.c index afa33e5626..afffa6377f 100644 --- a/codec-cfg.c +++ b/codec-cfg.c @@ -886,6 +886,10 @@ void gtkMessageBox( int type,char * str ) { return; } int use_gui = 0; #endif +int mp_msg_levels[MSGT_MAX]; +int mp_msg_level_all = MSGL_STATUS; +int verbose = 0; + void wrapline(FILE *f2,char *s){ int c; if(!s){ @@ -998,6 +1002,8 @@ int main(int argc, char* argv[]) int dshow=-1; int win32ex=-1; + mp_msg_init(); + /* * Take path to codecs.conf from command line, or fall back on * etc/codecs.conf @@ -1146,11 +1152,17 @@ int main(int argc, char* argv[]) #endif #ifdef TESTING +int mp_msg_levels[MSGT_MAX]; +int mp_msg_level_all = MSGL_STATUS; +int verbose = 0; + int main(void) { codecs_t *c; int i,j, nr_codecs, state; + mp_msg_init(); + if (!(parse_codec_cfg("etc/codecs.conf"))) return 0; if (!video_codecs) -- cgit v1.2.3