1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

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> Helmut Auer <vdr@helmutauer.de>
for reporting a superfluous error message in cLockFile. 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 - Added a missing StripAudioPackets() to cDvbPlayer::Action() (thanks to
Stefan Huelswitt). Stefan Huelswitt).
- Added an EPG bugfix for the latest VOX EPG data format. - 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 * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __CONFIG_H
@ -20,7 +20,7 @@
#include "eit.h" #include "eit.h"
#include "tools.h" #include "tools.h"
#define VDRVERSION "1.1.10" #define VDRVERSION "1.1.11"
#define MAXPRIORITY 99 #define MAXPRIORITY 99
#define MAXLIFETIME 99 #define MAXLIFETIME 99

5
eit.c
View File

@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (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" #include "eit.h"
@ -1223,9 +1223,8 @@ table identifer tid */
bool cSIProcessor::AddFilter(u_char pid, u_char tid) bool cSIProcessor::AddFilter(u_char pid, u_char tid)
{ {
dmxSctFilterParams sctFilterParams; dmxSctFilterParams sctFilterParams;
memset(&sctFilterParams, 0, sizeof(sctFilterParams));
sctFilterParams.pid = pid; sctFilterParams.pid = pid;
memset(&sctFilterParams.filter.filter, 0, DMX_FILTER_SIZE);
memset(&sctFilterParams.filter.mask, 0, DMX_FILTER_SIZE);
sctFilterParams.timeout = 0; sctFilterParams.timeout = 0;
sctFilterParams.flags = DMX_IMMEDIATE_START; sctFilterParams.flags = DMX_IMMEDIATE_START;
sctFilterParams.filter.filter[0] = tid; sctFilterParams.filter.filter[0] = tid;