[vlc-commits] commit: Fixed uninitialized value. (Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Thu Mar 18 12:47:32 CET 2010


vlc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Thu Mar 18 00:17:11 2010 +0100| [363e4c34de22df0dd4e6294fc13fdbd6383e51fd] | committer: Rémi Duraffort 

Fixed uninitialized value.

This was leading to a crash when using --no-keyboard-events

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=363e4c34de22df0dd4e6294fc13fdbd6383e51fd
---

 modules/video_output/xcb/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index fc193b4..487e045 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -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;



More information about the vlc-commits mailing list