[MPlayer-dev-eng] [PATCH] Warning removal in vo_directx.c

Zuxy Meng zuxy.meng at gmail.com
Mon Oct 23 07:06:48 CEST 2006


Remove a declaration-after-statement warning.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
Index: libvo/vo_directx.c
===================================================================
--- libvo/vo_directx.c	???????? 20315??
+++ libvo/vo_directx.c	????????????
@@ -1015,9 +1017,10 @@
 		}
         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


More information about the MPlayer-dev-eng mailing list