summaryrefslogtreecommitdiffstats
path: root/libvo/w32_common.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-01 11:02:26 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-01 11:02:26 +0300
commitc172b5355f2a0fa008fd5187ce323fb9676871b3 (patch)
treeed2b3dbfdbaa3f30fe1dda413df1b8f0eac32aa3 /libvo/w32_common.c
parent91b3d6a95568eec8a927e488c103e5ba1136e021 (diff)
downloadmpv-c172b5355f2a0fa008fd5187ce323fb9676871b3.tar.bz2
mpv-c172b5355f2a0fa008fd5187ce323fb9676871b3.tar.xz
libvo: Move aspect.c static variables to vo struct
This moves non-option variables. aspect.c still defines option globals.
Diffstat (limited to 'libvo/w32_common.c')
-rw-r--r--libvo/w32_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/w32_common.c b/libvo/w32_common.c
index b45b06cfbc..1346f50a7f 100644
--- a/libvo/w32_common.c
+++ b/libvo/w32_common.c
@@ -77,7 +77,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
xborder = (r2.right - r2.left) - (r.right - r.left);
yborder = (r2.bottom - r2.top) - (r.bottom - r.top);
wpos->cx -= xborder; wpos->cy -= yborder;
- aspect_fit(&wpos->cx, &wpos->cy, wpos->cx, wpos->cy);
+ aspect_fit(global_vo, &wpos->cx, &wpos->cy, wpos->cx, wpos->cy);
wpos->cx += xborder; wpos->cy += yborder;
}
return 0;