mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
zapit/src/capmt.cpp: fix crash on channel stop, if recording
This commit is contained in:
@@ -253,6 +253,7 @@ bool CCamManager::SetMode(t_channel_id channel_id, enum runmode mode, bool start
|
||||
uint8_t list = CCam::CAPMT_FIRST;
|
||||
for (it = channel_map.begin(); it != channel_map.end(); /*++it*/)
|
||||
{
|
||||
cam = it->second;
|
||||
channel = CServiceManager::getInstance()->FindChannel(it->first);
|
||||
++it;
|
||||
if(!channel)
|
||||
|
Reference in New Issue
Block a user