From 0e36c42af815d8c700d8b6b6b3d99644503da083 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 17 Sep 2012 14:17:16 +0200 Subject: [PATCH] streaminfo2.cpp:tiny fix Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/7b2ac6d3374255c46c87e436e80605eb86f283a0 Author: Jacek Jendrzej Date: 2012-09-17 (Mon, 17 Sep 2012) --- src/gui/streaminfo2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 07396e261..e508ea134 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -807,7 +807,9 @@ int CStreamInfo2::ts_setup () if(vpid == 0 && apid == 0) return -1; - dmx = new cDemux(0);//FIXME test + dmx = new cDemux(0); + if(!dmx) + return -1; dmx->Open(DMX_TP_CHANNEL, NULL, 3 * 3008 * 62);