Mercurial > mplayer.hg
diff libvo/vo_directx.c @ 30653:3d23e24c5c60
Declare externally used variables from vd.c as extern in vd.h.
This saves declaring them as extern all over the place.
author | diego |
---|---|
date | Mon, 22 Feb 2010 09:51:44 +0000 |
parents | a33cf9c69731 |
children | fbe5c829c69b |
line wrap: on
line diff
--- a/libvo/vo_directx.c Sun Feb 21 23:36:36 2010 +0000 +++ b/libvo/vo_directx.c Mon Feb 22 09:51:44 2010 +0000 @@ -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 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