[vlc-devel] commit: Qt4: fix uninitialized variable ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Jan 23 18:17:06 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Jan 22 20:49:10 2009 +0200| [4536532e0be8467fdb678715ad88e333214b5d87] | committer: Rémi Denis-Courmont 

Qt4: fix uninitialized variable

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

 modules/gui/qt4/input_manager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 5a643b7..535bfd8 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -63,7 +63,7 @@ InputManager::InputManager( QObject *parent, intf_thread_t *_p_intf) :
     b_video      = false;
     timeA        = 0;
     timeB        = 0;
-
+    f_cache      = -1.; /* impossible initial value, different from all */
 }
 
 InputManager::~InputManager()




More information about the vlc-devel mailing list