mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
neutrino: fix crash in showMovieTitle if playstate is not as expected
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@993 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -542,6 +542,8 @@ void CInfoViewer::showMovieTitle(const int playState, const std::string Channel,
|
|||||||
playicon = NEUTRINO_ICON_FF;
|
playicon = NEUTRINO_ICON_FF;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
/* NULL crashes in getIconSize, just use something */
|
||||||
|
playicon = NEUTRINO_ICON_BUTTON_HELP;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
int icon_w = 0,icon_h = 0;
|
int icon_w = 0,icon_h = 0;
|
||||||
|
Reference in New Issue
Block a user