src/gui/movieplayer.cpp fix possible segfault

This commit is contained in:
Jacek Jendrzej
2017-06-11 20:00:33 +02:00
parent 628e8ea3e4
commit cca6526b2f

View File

@@ -923,7 +923,7 @@ bool CMoviePlayerGui::selectLivestream(std::vector<livestream_info_t> &streamLis
#endif
bool resIO = false;
while (1) {
while (!streamList.empty()) {
size_t i;
for (i = 0; i < streamList.size(); ++i) {
_info = &(streamList[i]);