[MPlayer-cvslog] r26162 - in trunk: cfg-common.h mencoder.c mplayer.c
diego
subversion at mplayerhq.hu
Tue Mar 4 22:45:36 CET 2008
Author: diego
Date: Tue Mar 4 22:45:36 2008
New Revision: 26162
Log:
Move duplicated extern declarations of mp_msg_levels and mp_msg_level_all
to cfg-common.h where they are really needed.
Modified:
trunk/cfg-common.h
trunk/mencoder.c
trunk/mplayer.c
Modified: trunk/cfg-common.h
==============================================================================
--- trunk/cfg-common.h (original)
+++ trunk/cfg-common.h Tue Mar 4 22:45:36 2008
@@ -587,6 +587,9 @@ const m_option_t audio_filter_conf[]={
{NULL, NULL, 0, 0, 0, 0, NULL}
};
+extern int mp_msg_levels[MSGT_MAX];
+extern int mp_msg_level_all;
+
const m_option_t msgl_config[]={
{ "all", &mp_msg_level_all, CONF_TYPE_INT, CONF_RANGE, -1, 9, NULL},
Modified: trunk/mencoder.c
==============================================================================
--- trunk/mencoder.c (original)
+++ trunk/mencoder.c Tue Mar 4 22:45:36 2008
@@ -143,9 +143,6 @@ double cur_video_time_usage=0;
double cur_vout_time_usage=0;
int benchmark=0;
-extern int mp_msg_levels[MSGT_MAX];
-extern int mp_msg_level_all;
-
#ifdef WIN32
char * proc_priority=NULL;
#endif
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c (original)
+++ trunk/mplayer.c Tue Mar 4 22:45:36 2008
@@ -332,9 +332,6 @@ int suboverlap_enabled = 1;
#include "libass/ass_mp.h"
#endif
-extern int mp_msg_levels[MSGT_MAX];
-extern int mp_msg_level_all;
-
char* current_module=NULL; // for debugging
More information about the MPlayer-cvslog
mailing list