summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-23 11:26:40 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-23 11:26:40 +0000
commitd5040bf96bd3d6f97c16f525ff16fd0a4b27bad6 (patch)
tree7fa04e05c0d5ffe80f482a86021485834c65c854 /libvo
parent10b7abe81ba83f91cd34ca7c9926e3a29f1980b3 (diff)
downloadmpv-d5040bf96bd3d6f97c16f525ff16fd0a4b27bad6.tar.bz2
mpv-d5040bf96bd3d6f97c16f525ff16fd0a4b27bad6.tar.xz
Remove a declaration-after-statement warning.
patch by Zuxy Meng, zuxy.meng gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20410 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_directx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index 4d3417a107..023f0e72f7 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -1015,9 +1015,10 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
}
case WM_MOUSEWHEEL:
{
+ int x;
if (vo_nomouse_input)
break;
- int x = GET_WHEEL_DELTA_WPARAM(wParam);
+ x = GET_WHEEL_DELTA_WPARAM(wParam);
if (x > 0)
mplayer_put_key(MOUSE_BTN3);
else