Fix segfault in movieplayer (uninitialized variable)

This commit is contained in:
Michael Liebmann
2013-09-04 02:20:59 +02:00
parent c2a11f6dd2
commit 347ac82e50

View File

@@ -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);