From 3858cc9e65b1685f5aed9fd9d7b157418f19e0ff Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 21 Sep 2002 08:34:25 +0200 Subject: Fixed an incomplete initialization of the filter parameters --- CONTRIBUTORS | 3 +++ HISTORY | 5 +++++ config.h | 4 ++-- eit.c | 5 ++--- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 642d445a..ffeda8d7 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -399,3 +399,6 @@ J Helmut Auer for reporting a superfluous error message in cLockFile. + +Jeremy Hall + for fixing an incomplete initialization of the filter parameters in eit.c diff --git a/HISTORY b/HISTORY index d464a222..78908d93 100644 --- a/HISTORY +++ b/HISTORY @@ -1478,3 +1478,8 @@ Video Disk Recorder Revision History - Added a missing StripAudioPackets() to cDvbPlayer::Action() (thanks to Stefan Huelswitt). - Added an EPG bugfix for the latest VOX EPG data format. + +2002-09-21: Version 1.1.11 + +- Fixed an incomplete initialization of the filter parameters in eit.c (thanks + to Jeremy Hall). diff --git a/config.h b/config.h index 85e14ddd..011148f2 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.127 2002/09/09 21:35:55 kls Exp $ + * $Id: config.h 1.128 2002/09/21 08:34:25 kls Exp $ */ #ifndef __CONFIG_H @@ -20,7 +20,7 @@ #include "eit.h" #include "tools.h" -#define VDRVERSION "1.1.10" +#define VDRVERSION "1.1.11" #define MAXPRIORITY 99 #define MAXLIFETIME 99 diff --git a/eit.c b/eit.c index d4912c29..1e699300 100644 --- a/eit.c +++ b/eit.c @@ -16,7 +16,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: eit.c 1.51 2002/09/15 14:35:32 kls Exp $ + * $Id: eit.c 1.52 2002/09/20 16:24:17 kls Exp $ ***************************************************************************/ #include "eit.h" @@ -1223,9 +1223,8 @@ table identifer tid */ bool cSIProcessor::AddFilter(u_char pid, u_char tid) { dmxSctFilterParams sctFilterParams; + memset(&sctFilterParams, 0, sizeof(sctFilterParams)); sctFilterParams.pid = pid; - memset(&sctFilterParams.filter.filter, 0, DMX_FILTER_SIZE); - memset(&sctFilterParams.filter.mask, 0, DMX_FILTER_SIZE); sctFilterParams.timeout = 0; sctFilterParams.flags = DMX_IMMEDIATE_START; sctFilterParams.filter.filter[0] = tid; -- cgit v1.2.3