summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 09:51:44 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-22 09:51:44 +0000
commit36a14ac50cfdfaba97e1a8f599816bf6a03da323 (patch)
tree866a73f418efa17be68bb02e0229eeb167b2f99c /libvo
parent22e310b9aef77477e022874beb388514911ead1e (diff)
downloadmpv-36a14ac50cfdfaba97e1a8f599816bf6a03da323.tar.bz2
mpv-36a14ac50cfdfaba97e1a8f599816bf6a03da323.tar.xz
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 'libvo')
-rw-r--r--libvo/vo_directx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index af4a090493..014ee29d0e 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -31,6 +31,7 @@
#include "video_out_internal.h"
#include "fastmemcpy.h"
#include "input/input.h"
+#include "libmpcodecs/vd.h"
#include "osdep/keycodes.h"
#include "input/mouse.h"
#include "mp_msg.h"
@@ -90,8 +91,6 @@ static float window_aspect;
static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL;
static RECT last_rect = {0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE};
-extern int vidmode;
-
/*****************************************************************************
* DirectDraw GUIDs.
* Defining them here allows us to get rid of the dxguid library during