summaryrefslogtreecommitdiff
path: root/receiver.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-07-28 11:29:32 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-07-28 11:29:32 +0200
commita4246cfd9aa7f3c5a02145815a1e26dcace09327 (patch)
tree98386d9bbd934e14a44e162d8dfacf40a9c388a3 /receiver.c
parente77d5dfbfba9d05ed647ca19f7295428e7e2202c (diff)
downloadvdr-a4246cfd9aa7f3c5a02145815a1e26dcace09327.tar.gz
vdr-a4246cfd9aa7f3c5a02145815a1e26dcace09327.tar.bz2
Fixed PID handling for cReceiver
Diffstat (limited to 'receiver.c')
-rw-r--r--receiver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/receiver.c b/receiver.c
index 6ddbaa64..8f94c1a1 100644
--- a/receiver.c
+++ b/receiver.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: receiver.c 1.1 2002/06/10 16:30:00 kls Exp $
+ * $Id: receiver.c 1.2 2002/07/28 10:48:42 kls Exp $
*/
#include <stdarg.h>
@@ -16,6 +16,8 @@ cReceiver::cReceiver(int Ca, int Priority, int NumPids, ...)
device = NULL;
ca = Ca;
priority = Priority;
+ for (int i = 0; i < MAXRECEIVEPIDS; i++)
+ pids[i] = 0;
if (NumPids) {
va_list ap;
va_start(ap, NumPids);