From d7f8c61cda0b76cdd362d8a8f4a434cb7ae73040 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 10 Apr 2016 19:42:39 +0200 Subject: [PATCH] src/driver/streamts.cpp check after new Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b526c2480caee3a1c893354cd9d50654bd18118f Author: Jacek Jendrzej Date: 2016-04-10 (Sun, 10 Apr 2016) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/streamts.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/streamts.cpp b/src/driver/streamts.cpp index 2ab401258..6609ead9b 100644 --- a/src/driver/streamts.cpp +++ b/src/driver/streamts.cpp @@ -169,6 +169,8 @@ bool CStreamInstance::Open() return false; dmx = new cDemux(tmpchan->getRecordDemux());//FIXME + if(!dmx) + return false; return dmx->Open(DMX_TP_CHANNEL, NULL, DMX_BUFFER_SIZE); }