[MPlayer-cvslog] r32147 - in trunk: asxparser.c mpcommon.h

diego subversion at mplayerhq.hu
Sat Sep 11 13:43:05 CEST 2010


Author: diego
Date: Sat Sep 11 13:43:05 2010
New Revision: 32147

Log:
Move mconfig extern variable declaration to mpcommon.h.

Modified:
   trunk/asxparser.c
   trunk/mpcommon.h

Modified: trunk/asxparser.c
==============================================================================
--- trunk/asxparser.c	Sat Sep 11 13:38:36 2010	(r32146)
+++ trunk/asxparser.c	Sat Sep 11 13:43:05 2010	(r32147)
@@ -31,8 +31,7 @@
 #include "asxparser.h"
 #include "mp_msg.h"
 #include "m_config.h"
-
-extern m_config_t* mconfig;
+#include "mpcommon.h"
 
 ////// List utils
 

Modified: trunk/mpcommon.h
==============================================================================
--- trunk/mpcommon.h	Sat Sep 11 13:38:36 2010	(r32146)
+++ trunk/mpcommon.h	Sat Sep 11 13:43:05 2010	(r32147)
@@ -19,6 +19,7 @@
 #ifndef MPLAYER_MPCOMMON_H
 #define MPLAYER_MPCOMMON_H
 
+#include "m_config.h"
 #include "m_option.h"
 #include "subreader.h"
 #include "libmpdemux/demuxer.h"
@@ -57,6 +58,7 @@ extern float stream_cache_seek_min_perce
 extern const char *mencoder_version;
 extern const char *mplayer_version;
 
+extern m_config_t *mconfig;
 extern const m_option_t noconfig_opts[];
 
 void print_version(const char* name);


More information about the MPlayer-cvslog mailing list