summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index db021e4..136976a 100644
--- a/osd.c
+++ b/osd.c
@@ -625,7 +625,7 @@ void cOsdPipObject::StopReplay(void)
{
cControl::Control()->ProcessKey(kStop);
cDevice::PrimaryDevice()->StopReplay();
- if (m_InfoWindow->Shown())
+ if (m_InfoWindow && m_InfoWindow->Shown())
m_InfoWindow->Hide();
Channels.SwitchTo(cDevice::CurrentChannel());
}