diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-07-28 11:29:32 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-07-28 11:29:32 +0200 |
commit | a4246cfd9aa7f3c5a02145815a1e26dcace09327 (patch) | |
tree | 98386d9bbd934e14a44e162d8dfacf40a9c388a3 /receiver.c | |
parent | e77d5dfbfba9d05ed647ca19f7295428e7e2202c (diff) | |
download | vdr-a4246cfd9aa7f3c5a02145815a1e26dcace09327.tar.gz vdr-a4246cfd9aa7f3c5a02145815a1e26dcace09327.tar.bz2 |
Fixed PID handling for cReceiver
Diffstat (limited to 'receiver.c')
-rw-r--r-- | receiver.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |