Fixed an incomplete initialization of the filter parameters

This commit is contained in:
Klaus Schmidinger 2002-09-21 08:34:25 +02:00
parent fbd75da596
commit 3858cc9e65
4 changed files with 12 additions and 5 deletions

View File

@ -399,3 +399,6 @@ J
Helmut Auer <vdr@helmutauer.de>
for reporting a superfluous error message in cLockFile.
Jeremy Hall <jhall@UU.NET>
for fixing an incomplete initialization of the filter parameters in eit.c

View File

@ -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).

View File

@ -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

5
eit.c
View File

@ -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;