# HG changeset patch # User diego # Date 1161602800 0 # Node ID 6dad8fd4e8ec9e4e2922e38421c27468f57fd92f # Parent 15c01d3248c1694de8d85d75aa58bd64983548e9 Remove a declaration-after-statement warning. patch by Zuxy Meng, zuxy.meng gmail com diff -r 15c01d3248c1 -r 6dad8fd4e8ec libvo/vo_directx.c --- a/libvo/vo_directx.c Mon Oct 23 11:13:49 2006 +0000 +++ b/libvo/vo_directx.c Mon Oct 23 11:26:40 2006 +0000 @@ -1015,9 +1015,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