From b4c82f50668e49df2077745f2e1d6981c840db51 Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 22 May 2015 13:56:52 +0200 Subject: [PATCH] fixed ecm time display --- HISTORY | 3 ++- views/viewhelpers.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 81fb3a7..a3e70e8 100644 --- a/HISTORY +++ b/HISTORY @@ -334,4 +334,5 @@ Version 0.4.6 - added timeshift support in displayreplay Version 0.4.7 - +- fixed crash when deleting menuitem +- fixed ecm time display diff --git a/views/viewhelpers.c b/views/viewhelpers.c index cc72c9b..fae89c7 100644 --- a/views/viewhelpers.c +++ b/views/viewhelpers.c @@ -938,7 +938,7 @@ bool cViewHelpers::SetEcmInfos(int channelSid, stringmap &stringTokens, intmap & return false; } - if (ecmInfo.hops < 0 || ecmInfo.ecmtime <= 0) + if (ecmInfo.hops < 0 || ecmInfo.ecmtime <= 0 || ecmInfo.ecmtime > 100000) return false; if (CompareECMInfos(&ecmInfo)) return false;