From a590d8321e5d75bd01ef40b7e2dd3201471e5bca Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 19 Nov 2012 17:58:24 +0100 Subject: [PATCH] src/driver/streamts.cpp fix segfault Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/af7b6d7a986f612f5009781b1192abbd2b60c0fd Author: Jacek Jendrzej Date: 2012-11-19 (Mon, 19 Nov 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/streamts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index bfbb5c576..31459da81 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -346,8 +346,8 @@ bool CStreamManager::Parse(int fd, stream_pids_t &pids, t_channel_id &chid) } } } - if(CRecordManager::getInstance()->RecordingStatus(tmpid)) { - printf("CStreamManager::Parse: channel %llx recorded, aborting..\n", tmpid); + if(CRecordManager::getInstance()->RecordingStatus(chid)) { + printf("CStreamManager::Parse: channel %llx recorded, aborting..\n", chid); return false; } #endif