From 347ac82e502f5efc4f23bb884cb5cbc265af12e3 Mon Sep 17 00:00:00 2001 From: Michael Liebmann Date: Wed, 4 Sep 2013 02:20:59 +0200 Subject: [PATCH] Fix segfault in movieplayer (uninitialized variable) --- src/gui/movieplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 6c78bfbfe..3df95b891 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -505,7 +505,7 @@ void CMoviePlayerGui::PlayFile(void) } file_prozent = 0; - pthread_t thrStartHint; + pthread_t thrStartHint = 0; if (is_file_player) { showStartingHint = true; pthread_create(&thrStartHint, NULL, CMoviePlayerGui::ShowStartHint, this);