summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin.c1
-rw-r--r--skinconfig.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugin.c b/plugin.c
index 00b70dc..6b314ad 100644
--- a/plugin.c
+++ b/plugin.c
@@ -645,6 +645,7 @@ cString cPluginGraphLCD::SVDRPCommand(const char *Command, const char *Option, i
}
}
}
+ return NULL; /* make gcc happy */
}
cOsdObject * cPluginGraphLCD::MainMenuAction()
diff --git a/skinconfig.c b/skinconfig.c
index 1c351e1..73caf79 100644
--- a/skinconfig.c
+++ b/skinconfig.c
@@ -553,7 +553,7 @@ GLCD::cType cGraphLCDSkinConfig::GetToken(const GLCD::tSkinToken & Token)
tReplayState replay = mState->GetReplayState();
double framesPerSec =
#if VDRVERSNUM >= 10701
- replay.control->FramesPerSecond()
+ (replay.control) ? replay.control->FramesPerSecond() : (double)DEFAULTFRAMESPERSECOND
#else
(double)FRAMESPERSEC
#endif