diff options
-rw-r--r-- | plugin.c | 1 | ||||
-rw-r--r-- | skinconfig.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |