summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-12-28 13:29:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-12-28 13:29:54 +0100
commit00e2415b81aa1808ab084874cb2eedccb89ec5ca (patch)
treecb9487c63a10e3a0d2cb5124233c8c2571c6cdd1 /device.c
parent6a8a2cf5fb78a244db19a2b49da98e0d1d2d91a0 (diff)
downloadvdr-00e2415b81aa1808ab084874cb2eedccb89ec5ca.tar.gz
vdr-00e2415b81aa1808ab084874cb2eedccb89ec5ca.tar.bz2
Implemented cCamSlot::Decrypt()
Diffstat (limited to 'device.c')
-rw-r--r--device.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/device.c b/device.c
index a028b8a6..c9a70173 100644
--- a/device.c
+++ b/device.c
@@ -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;