From 2062685a97d49d2279835486dc26567c02859f61 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 ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/b526c2480caee3a1c893354cd9d50654bd18118f Author: Jacek Jendrzej Date: 2016-04-10 (Sun, 10 Apr 2016) --- 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); }