changeset 32032:52b0385d2d7a

Move **sub_name extern declaration to mpcommon.h. It is used in both mplayer.c/mencoder.c.
author diego
date Thu, 09 Sep 2010 16:17:27 +0000
parents d1e3a6f7d48a
children c42345605c7a
files gui/interface.c gui/win32/dialogs.c mpcommon.h mplayer.h
diffstat 4 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Thu Sep 09 15:46:25 2010 +0000
+++ b/gui/interface.c	Thu Sep 09 16:17:27 2010 +0000
@@ -38,6 +38,7 @@
 #include "help_mp.h"
 #include "path.h"
 #include "mp_core.h"
+#include "mpcommon.h"
 #include "mplayer.h"
 #include "libmpcodecs/vd.h"
 #include "libmpcodecs/vf.h"
--- a/gui/win32/dialogs.c	Thu Sep 09 15:46:25 2010 +0000
+++ b/gui/win32/dialogs.c	Thu Sep 09 16:17:27 2010 +0000
@@ -27,7 +27,7 @@
 #include "gui/interface.h"
 #include "mp_msg.h"
 #include "help_mp.h"
-#include "mplayer.h"
+#include "mpcommon.h"
 #include "stream/stream.h"
 #include "libmpdemux/demuxer.h"
 #include "libmpdemux/stheader.h"
--- a/mpcommon.h	Thu Sep 09 15:46:25 2010 +0000
+++ b/mpcommon.h	Thu Sep 09 16:17:27 2010 +0000
@@ -31,6 +31,7 @@
 
 extern float sub_delay;
 extern float sub_fps;
+extern char **sub_name;
 
 extern int disable_system_conf;
 extern int disable_user_conf;
--- a/mplayer.h	Thu Sep 09 15:46:25 2010 +0000
+++ b/mplayer.h	Thu Sep 09 16:17:27 2010 +0000
@@ -48,7 +48,6 @@
 extern int frame_dropping;
 
 /* for the GUI */
-extern char **sub_name;
 extern int auto_quality;
 
 extern int audio_id;