From 9a3dc3c7b7a18c8305dd3784c34faa833a82b08c Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 13 May 2011 09:13:58 +0000 Subject: [PATCH] fix git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1469 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0425e29ad7eef1670e655bfaf5b52a8a46f0fe73 Author: Jacek Jendrzej Date: 2011-05-13 (Fri, 13 May 2011) Origin message was: ------------------ -fix git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1469 e54a6e83-5905-42d5-8d5c-058d10e6a962 ------------------ This commit was generated by Migit --- src/zapit/src/zapit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index cc4e00238..238c93e09 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -926,7 +926,7 @@ bool zapit_parse_command(CBasicMessage::Header &rmsg, int connfd) msgCurrentServiceInfo.apid = g_current_channel->getAudioPid(); msgCurrentServiceInfo.vtxtpid = g_current_channel->getTeletextPid(); msgCurrentServiceInfo.pmtpid = g_current_channel->getPmtPid(); - msgCurrentServiceInfo.pmt_version = (msgCurrentServiceInfo.pmtpid != 0) ? g_current_channel->getCaPmt()->version_number : 0; + msgCurrentServiceInfo.pmt_version = (g_current_channel->getCaPmt() != NULL) ? g_current_channel->getCaPmt()->version_number : 0xff; msgCurrentServiceInfo.pcrpid = g_current_channel->getPcrPid(); msgCurrentServiceInfo.tsfrequency = frontend->getFrequency(); msgCurrentServiceInfo.rate = frontend->getRate();