summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-09-21 08:34:25 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-09-21 08:34:25 +0200
commit3858cc9e65b1685f5aed9fd9d7b157418f19e0ff (patch)
treec1c4b802f20b817e634b37315528dbda2a77a1fd /eit.c
parentfbd75da596213e5af1256703a6a6aed2aff8ebd1 (diff)
downloadvdr-3858cc9e65b1685f5aed9fd9d7b157418f19e0ff.tar.gz
vdr-3858cc9e65b1685f5aed9fd9d7b157418f19e0ff.tar.bz2
Fixed an incomplete initialization of the filter parameters
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c5
1 files changed, 2 insertions, 3 deletions
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;