movieplayer: init neutrino_msg_t

Origin commit data
------------------
Commit: c0284d7bb4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-06-09 (Sun, 09 Jun 2019)
This commit is contained in:
Jacek Jendrzej
2019-06-09 18:28:44 +02:00
committed by vanhofen
parent 8b95905797
commit 4a1eaf57c3

View File

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