aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/GUIWindowVideoBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/GUIWindowVideoBase.cpp b/xbmc/GUIWindowVideoBase.cpp
index ae64511be4..939ac562cc 100644
--- a/xbmc/GUIWindowVideoBase.cpp
+++ b/xbmc/GUIWindowVideoBase.cpp
@@ -1164,7 +1164,7 @@ bool CGUIWindowVideoBase::OnContextButton(int itemNumber, CONTEXT_BUTTON button)
if (item->IsVideoDb())
strPath = item->GetVideoInfoTag()->m_strPath;
- if (info->Content() == CONTENT_NONE)
+ if (!info || info->Content() == CONTENT_NONE)
return false;
if (item->m_bIsFolder)