mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling Ca descriptors
This commit is contained in:
parent
ed5027b5d5
commit
b57eae00d3
3
HISTORY
3
HISTORY
@ -2034,7 +2034,8 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed handling of Ca parameters with values <= MAXDEVICES, which don't indicate
|
- Fixed handling of Ca parameters with values <= MAXDEVICES, which don't indicate
|
||||||
an actual encrypted channel (thanks to Stefan Huelswitt for reporting this one).
|
an actual encrypted channel (thanks to Stefan Huelswitt for reporting this one).
|
||||||
|
|
||||||
2003-04-13: Version 1.1.28
|
2003-04-18: Version 1.1.28
|
||||||
|
|
||||||
- Using masks in EIT filtering to reduce the number of filters (thanks to Andreas
|
- Using masks in EIT filtering to reduce the number of filters (thanks to Andreas
|
||||||
Schultz).
|
Schultz).
|
||||||
|
- Fixed handling Ca descriptors (thanks to Stefan Huelswitt).
|
||||||
|
4
eit.c
4
eit.c
@ -16,7 +16,7 @@
|
|||||||
* the Free Software Foundation; either version 2 of the License, or *
|
* the Free Software Foundation; either version 2 of the License, or *
|
||||||
* (at your option) any later version. *
|
* (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"
|
#include "eit.h"
|
||||||
@ -1029,7 +1029,7 @@ cCaDescriptor::cCaDescriptor(int Source, int Transponder, int ServiceId, int CaS
|
|||||||
data[1] = length - 2;
|
data[1] = length - 2;
|
||||||
data[2] = (caSystem >> 8) & 0xFF;
|
data[2] = (caSystem >> 8) & 0xFF;
|
||||||
data[3] = caSystem & 0xFF;
|
data[3] = caSystem & 0xFF;
|
||||||
data[4] = ((CaPid >> 8) & 0xFF) | 0xE0;
|
data[4] = ((CaPid >> 8) & 0x1F) | 0xE0;
|
||||||
data[5] = CaPid & 0xFF;
|
data[5] = CaPid & 0xFF;
|
||||||
if (Length)
|
if (Length)
|
||||||
memcpy(&data[6], Data, Length);
|
memcpy(&data[6], Data, Length);
|
||||||
|
Loading…
Reference in New Issue
Block a user