diff mencoder.c @ 17120:637a2f4ff216

Some more cola for msglevel, codec-cfg can't even call mp_msg_init or it'll print bogus stuff.
author ods15
date Wed, 07 Dec 2005 05:12:07 +0000
parents 05af35012e4f
children 119790c08d5c
line wrap: on
line diff
--- a/mencoder.c	Wed Dec 07 00:57:32 2005 +0000
+++ b/mencoder.c	Wed Dec 07 05:12:07 2005 +0000
@@ -129,7 +129,7 @@
 //void skip_audio_frame(sh_audio_t *sh_audio){}
 //void resync_audio_stream(sh_audio_t *sh_audio){}
 
-int verbose=0; // must be global!
+extern int verbose; // must be global!
 int identify=0;
 int quiet=0;
 double video_time_usage=0;
@@ -140,8 +140,8 @@
 double cur_vout_time_usage=0;
 int benchmark=0;
 
-int mp_msg_levels[MSGT_MAX]; // inited to -2
-int mp_msg_level_all = MSGL_STATUS;
+extern int mp_msg_levels[MSGT_MAX];
+extern int mp_msg_level_all;
 
 #ifdef WIN32
 char * proc_priority=NULL;