From a54a6c4ab9f0c91601b671e8e20c8bdfb1beadb4 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 9 Jun 2019 18:28:44 +0200 Subject: [PATCH] movieplayer: init neutrino_msg_t Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c0284d7bb4621dd0b905465ca2e34df99e067a1f Author: Jacek Jendrzej Date: 2019-06-09 (Sun, 09 Jun 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/movieplayer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index f72b5daab..163c0d45b 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -807,8 +807,8 @@ void *CMoviePlayerGui::ShowStartHint(void *arg) hintbox->paint(); } while (caller->showStartingHint) { - neutrino_msg_t msg; - neutrino_msg_data_t data; + neutrino_msg_t msg = 0; + neutrino_msg_data_t data = 0; g_RCInput->getMsg(&msg, &data, 1); if (msg == CRCInput::RC_home || msg == CRCInput::RC_stop) { caller->playback->RequestAbort(); @@ -1554,8 +1554,8 @@ void CMoviePlayerGui::PlayFileLoop(void) first_start = false; } - neutrino_msg_t msg; - neutrino_msg_data_t data; + neutrino_msg_t msg = 0; + neutrino_msg_data_t data = 0; g_RCInput->getMsg(&msg, &data, 10); // 1 secs.. // handle CRCInput::RC_playpause key