summaryrefslogtreecommitdiff
path: root/skinconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'skinconfig.c')
-rw-r--r--skinconfig.c2
1 files changed, 1 insertions, 1 deletions
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