diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index d60b7afad..acb21edb7 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -4,7 +4,7 @@ * zapit - d-box2 linux project * * (C) 2001, 2002 by Philipp Leusmann - * (C) 2007-2012 Stefan Seyfried + * (C) 2007-2013 Stefan Seyfried * Copyright (C) 2011 CoolStream International Ltd * * This program is free software; you can redistribute it and/or modify @@ -2266,8 +2266,10 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg) CFEManager::getInstance()->Init(); live_fe = CFEManager::getInstance()->getFE(0); +#if 0 if (live_fe == NULL) /* no frontend found? */ return false; +#endif /* load configuration or set defaults if no configuration file exists */ video_mode = ZapStart_arg->video_mode; @@ -2327,6 +2329,8 @@ bool CZapit::Start(Z_start_arg *ZapStart_arg) #endif ca = cCA::GetInstance(); + if (live_fe == NULL) /* no frontend found? */ + return false; //LoadSettings(); //LoadAudioMap();