diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index 5c6fe8107..2631888cd 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -4127,7 +4127,7 @@ static off64_t copy_movie(MI_MOVIE_INFO * minfo, CMovieInfo * cmovie, bool onefi CFile file; bool need_gop = 0; bool dst_done = 0; - bool was_cancel; + bool was_cancel = false; int retval = 0; buf = (unsigned char *) malloc(BUF_SIZE); diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 52cf58d84..918fd7bd8 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -763,7 +763,7 @@ void CMoviePlayerGui::PlayFile(void) playback->FindAllPids(g_apids, g_ac3flags, &g_numpida, g_language); } for (unsigned int count = 0; count < g_numpida; count++) { - bool name_ok; + bool name_ok = false; char apidnumber[10]; sprintf(apidnumber, "%d %X", count + 1, g_apids[count]); enabled = true;