summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-04-18 11:29:11 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-04-18 11:29:11 +0200
commitb57eae00d387e24f0dc1882efeb7ecf070957cf7 (patch)
tree27701f30c483e5cc0dd3de5b209268a8033a632d /eit.c
parented5027b5d5a331b44d16b5c41f267f17c6efebf6 (diff)
downloadvdr-b57eae00d387e24f0dc1882efeb7ecf070957cf7.tar.gz
vdr-b57eae00d387e24f0dc1882efeb7ecf070957cf7.tar.bz2
Fixed handling Ca descriptors
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index 7dd77108..de52e7c6 100644
--- a/eit.c
+++ b/eit.c
@@ -16,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.c 1.69 2003/04/13 14:06:25 kls Exp $
+ * $Id: eit.c 1.70 2003/04/18 11:29:11 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -1029,7 +1029,7 @@ cCaDescriptor::cCaDescriptor(int Source, int Transponder, int ServiceId, int CaS
data[1] = length - 2;
data[2] = (caSystem >> 8) & 0xFF;
data[3] = caSystem & 0xFF;
- data[4] = ((CaPid >> 8) & 0xFF) | 0xE0;
+ data[4] = ((CaPid >> 8) & 0x1F) | 0xE0;
data[5] = CaPid & 0xFF;
if (Length)
memcpy(&data[6], Data, Length);