[vlc-devel] commit: Fixed a segfault in hotkeys. (Laurent Aimar )
git version control
git at videolan.org
Tue Feb 24 23:44:57 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Feb 24 23:40:59 2009 +0100| [9fd326a0f6eea08df982f77c6f4ef7e30ba4005b] | committer: Laurent Aimar
Fixed a segfault in hotkeys.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9fd326a0f6eea08df982f77c6f4ef7e30ba4005b
---
modules/control/hotkeys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 9b2ca8f..c900435 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -192,7 +192,7 @@ static void Run( intf_thread_t *p_intf )
/* Update the vout */
p_last_vout = p_vout;
- p_vout = input_GetVout( p_input );
+ p_vout = p_input ? input_GetVout( p_input ) : NULL;
/* Register OSD channels */
if( p_vout && p_vout != p_last_vout )
More information about the vlc-devel
mailing list