diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-12-28 13:29:54 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-12-28 13:29:54 +0100 |
commit | 00e2415b81aa1808ab084874cb2eedccb89ec5ca (patch) | |
tree | cb9487c63a10e3a0d2cb5124233c8c2571c6cdd1 /device.c | |
parent | 6a8a2cf5fb78a244db19a2b49da98e0d1d2d91a0 (diff) | |
download | vdr-00e2415b81aa1808ab084874cb2eedccb89ec5ca.tar.gz vdr-00e2415b81aa1808ab084874cb2eedccb89ec5ca.tar.bz2 |
Implemented cCamSlot::Decrypt()
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.c 3.4 2013/12/25 13:20:19 kls Exp $ + * $Id: device.c 3.5 2013/12/28 12:56:24 kls Exp $ */ #include "device.h" @@ -1764,7 +1764,7 @@ void cTSBuffer::Action(void) } } -uchar *cTSBuffer::Get(void) +uchar *cTSBuffer::Get(int *Available) { int Count = 0; if (delivered) { @@ -1785,6 +1785,8 @@ uchar *cTSBuffer::Get(void) return NULL; } delivered = true; + if (Available) + *Available = Count; return p; } return NULL; |