[vlc-devel] commit: NULL pointer dereference ( Rafaël Carré )
git version control
git at videolan.org
Wed May 28 10:25:51 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed May 28 10:27:26 2008 +0200| [b818dbc606f03b2f685b078e7e488f68de0c6848]
NULL pointer dereference
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b818dbc606f03b2f685b078e7e488f68de0c6848
---
modules/gui/qt4/main_interface.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 495b676..f94855b 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -623,7 +623,7 @@ void MainInterface::debug()
{
msg_Dbg( p_intf, "size: %i - %i", size().height(), size().width() );
msg_Dbg( p_intf, "sizeHint: %i - %i", sizeHint().height(), sizeHint().width() );
- if( videoWidget->isVisible() )
+ if( videoWidget && videoWidget->isVisible() )
{
// sleep( 10 );
msg_Dbg( p_intf, "size: %i - %i", size().height(), size().width() );
More information about the vlc-devel
mailing list