summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci.c b/ci.c
index 6ddd4768..d4477d55 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 1.18 2003/12/22 15:52:31 kls Exp $
+ * $Id: ci.c 1.19 2003/12/23 10:19:56 kls Exp $
*/
/* XXX TODO
@@ -1278,10 +1278,10 @@ cCiCaPmt::cCiCaPmt(int ProgramNumber)
capmt[length++] = 0x00; // program_info_length L
}
-void cCiCaPmt::AddPid(int Pid)
+void cCiCaPmt::AddPid(int Pid, uint8_t StreamType)
{
//XXX buffer overflow check???
- capmt[length++] = 0x00; //XXX stream_type (apparently doesn't matter)
+ capmt[length++] = StreamType;
capmt[length++] = (Pid >> 8) & 0xFF;
capmt[length++] = Pid & 0xFF;
esInfoLengthPos = length;