diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-22 09:51:44 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-22 09:51:44 +0000 |
commit | 36a14ac50cfdfaba97e1a8f599816bf6a03da323 (patch) | |
tree | 866a73f418efa17be68bb02e0229eeb167b2f99c /gui | |
parent | 22e310b9aef77477e022874beb388514911ead1e (diff) |
Declare externally used variables from vd.c as extern in vd.h.
This saves declaring them as extern all over the place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30695 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'gui')
-rw-r--r-- | gui/cfg.c | 1 | ||||
-rw-r--r-- | gui/interface.c | 1 | ||||
-rw-r--r-- | gui/mplayer/gmplayer.h | 2 | ||||
-rw-r--r-- | gui/mplayer/play.c | 1 |
4 files changed, 3 insertions, 2 deletions
@@ -28,6 +28,7 @@ #include "m_config.h" #include "m_option.h" #include "get_path.h" +#include "libmpcodecs/vd.h" #include "libvo/sub.h" #include "libvo/video_out.h" #include "stream/stream.h" diff --git a/gui/interface.c b/gui/interface.c index 9d57caf2c3..83e897d267 100644 --- a/gui/interface.c +++ b/gui/interface.c @@ -39,6 +39,7 @@ #include "get_path.h" #include "mp_core.h" #include "mplayer.h" +#include "libmpcodecs/vd.h" #include "libvo/x11_common.h" #include "libvo/video_out.h" #include "libvo/font_load.h" diff --git a/gui/mplayer/gmplayer.h b/gui/mplayer/gmplayer.h index 279cad0753..d932cde31f 100644 --- a/gui/mplayer/gmplayer.h +++ b/gui/mplayer/gmplayer.h @@ -31,8 +31,6 @@ extern int mplMiddleMenu; extern char * dvd_device; extern char * cdrom_device; -extern int fullscreen; -extern int flip; void mplInit( void * disp ); diff --git a/gui/mplayer/play.c b/gui/mplayer/play.c index b398f9f901..55fc98b931 100644 --- a/gui/mplayer/play.c +++ b/gui/mplayer/play.c @@ -26,6 +26,7 @@ #include "config.h" #include "help_mp.h" +#include "libmpcodecs/vd.h" #include "libvo/x11_common.h" #include "libvo/video_out.h" #include "input/input.h" |