diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-16 14:40:47 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-16 14:40:47 +0100 |
commit | c522225344fdcbea2ec2946695d43a5dfa6c175a (patch) | |
tree | eac64a12b227614c86183257e3ea728e80986f0b /pat.c | |
parent | 9423c636a25dcdc2531d51551aff33cf93abc095 (diff) | |
download | vdr-c522225344fdcbea2ec2946695d43a5dfa6c175a.tar.gz vdr-c522225344fdcbea2ec2946695d43a5dfa6c175a.tar.bz2 |
Recording and Transfer Mode now handle more than 2 audio PIDs
Diffstat (limited to 'pat.c')
-rw-r--r-- | pat.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: pat.c 1.10 2004/10/16 10:01:12 kls Exp $ + * $Id: pat.c 1.11 2005/01/16 13:54:34 kls Exp $ */ #include "pat.h" @@ -325,9 +325,9 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length int Vpid = 0; int Ppid = pmt.getPCRPid(); int Apids[MAXAPIDS] = { 0 }; - int Dpids[MAXAPIDS] = { 0 }; + int Dpids[MAXDPIDS] = { 0 }; char ALangs[MAXAPIDS][4] = { "" }; - char DLangs[MAXAPIDS][4] = { "" }; + char DLangs[MAXDPIDS][4] = { "" }; int Tpid = 0; int NumApids = 0; int NumDpids = 0; @@ -386,7 +386,7 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length delete d; } if (dpid) { - if (NumDpids < MAXAPIDS) { + if (NumDpids < MAXDPIDS) { Dpids[NumDpids] = dpid; strn0cpy(DLangs[NumDpids], lang, 4); NumDpids++; |