]> git.sesse.net Git - vlc/commitdiff
Fixed uninitialized value.
authorHugo Beauzee-Luyssen <beauze.h@gmail.com>
Wed, 17 Mar 2010 23:17:11 +0000 (00:17 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Thu, 18 Mar 2010 11:45:55 +0000 (12:45 +0100)
This was leading to a crash when using --no-keyboard-events

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
modules/video_output/xcb/window.c

index fc193b462447ec5df774ebf744b65b1e8bc5794d..487e045cf7ec12cd642c7de02dee42b7793598c8 100644 (file)
@@ -617,6 +617,7 @@ static int EmOpen (vlc_object_t *obj)
     if (p_sys == NULL || xcb_connection_has_error (conn))
         goto error;
 
+    p_sys->keys = NULL;
     wnd->handle.xid = window;
     wnd->control = Control;
     wnd->sys = p_sys;