summaryrefslogtreecommitdiff
path: root/pat.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-06-13 11:14:26 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-06-13 11:14:26 +0200
commit22a4f5a50431ae7ee0668f62c918c631dbb761fb (patch)
treeacf44ead7289eae2280b64648418fe27333cdb4b /pat.c
parent27852272bc819f61bb66ff7d2feef14fed16e538 (diff)
downloadvdr-22a4f5a50431ae7ee0668f62c918c631dbb761fb.tar.gz
vdr-22a4f5a50431ae7ee0668f62c918c631dbb761fb.tar.bz2
Fixed the array size of Atypes in cPatFilter::Process()
Diffstat (limited to 'pat.c')
-rw-r--r--pat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pat.c b/pat.c
index 6dc97314..736ddc21 100644
--- a/pat.c
+++ b/pat.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: pat.c 2.12 2010/06/13 10:28:19 kls Exp $
+ * $Id: pat.c 2.13 2010/06/13 11:12:12 kls Exp $
*/
#include "pat.h"
@@ -332,7 +332,7 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
int Ppid = 0;
int Vtype = 0;
int Apids[MAXAPIDS + 1] = { 0 }; // these lists are zero-terminated
- int Atypes[MAXDPIDS + 1] = { 0 };
+ int Atypes[MAXAPIDS + 1] = { 0 };
int Dpids[MAXDPIDS + 1] = { 0 };
int Dtypes[MAXDPIDS + 1] = { 0 };
int Spids[MAXSPIDS + 1] = { 0 };