Permalink
Browse files

Merge pull request #4312 from wsoltys/pvrfix

fixed exception because of accessing an uninitialized playingChannel object
  • Loading branch information...
jmarshallnz committed Mar 3, 2014
2 parents 20fcb22 + ade7119 commit ab0aec4057992edc875e4cd733eb80dc79dbfb4a
Showing with 2 additions and 1 deletion.
  1. +2 −1 xbmc/video/windows/GUIWindowFullScreen.cpp
@@ -237,7 +237,8 @@ bool CGUIWindowFullScreen::OnAction(const CAction &action)
if (g_application.CurrentFileItem().IsLiveTV())
{
CPVRChannelPtr playingChannel;
g_PVRManager.GetCurrentChannel(playingChannel);
if(!g_PVRManager.GetCurrentChannel(playingChannel))
return false;
if (action.GetID() == REMOTE_0)
{

0 comments on commit ab0aec4

Please sign in to comment.