diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-15 09:39:55 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-04-15 09:39:55 +0200 |
commit | 1a160e7afeddd6a2479a40ee6110477093942707 (patch) | |
tree | 757f2ac9c91c8399c7f652ce37a70fbd8ebde495 /ci.h | |
parent | 016e10c1b0d20b8c73b593afcaf492219b5a0064 (diff) | |
download | vdr-1a160e7afeddd6a2479a40ee6110477093942707.tar.gz vdr-1a160e7afeddd6a2479a40ee6110477093942707.tar.bz2 |
The function cCamSlot::Decrypt() can now also be called with Data == NULL
Diffstat (limited to 'ci.h')
-rw-r--r-- | ci.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.h 4.5 2017/03/23 14:23:33 kls Exp $ + * $Id: ci.h 4.6 2017/04/10 09:17:56 kls Exp $ */ #ifndef __CI_H @@ -345,7 +345,12 @@ public: ///< in hardware, it can implement this function to be given access ///< to the data in the device's TS buffer. Data points to a buffer ///< of Count bytes of TS data. The first byte in Data is guaranteed - ///< to be a TS_SYNC_BYTE. + ///< to be a TS_SYNC_BYTE, and Count is at least TS_SIZE. + ///< Note that Decrypt() may be called with Data == NULL! This is necessary + ///< to allow CAMs that copy the incoming data into a separate buffer to + ///< return previously received and decrypted TS packets. If Data is NULL, + ///< Count is 0 and must not be modified, and the return value shall point to the + ///< next available decrypted TS packet (if any). ///< There are three possible ways a CAM can handle decryption: ///< 1. If the full TS data is physically routed through the CAM in hardware, ///< there is no need to reimplement this function. |