summaryrefslogtreecommitdiff
path: root/PLUGINS/src/sky/sky.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-09-07 11:55:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2008-09-07 11:55:36 +0200
commit86b8a2ec24ae86928f8b991f4a6a735e41a03f59 (patch)
tree7f94a2ac3cbdc70cdc2882f74fcf5260d22876ee /PLUGINS/src/sky/sky.c
parentb20380781875b603bf84efb161ecdbf8cbd3c950 (diff)
downloadvdr-86b8a2ec24ae86928f8b991f4a6a735e41a03f59.tar.gz
vdr-86b8a2ec24ae86928f8b991f4a6a735e41a03f59.tar.bz2
Fixed renamed constants
Diffstat (limited to 'PLUGINS/src/sky/sky.c')
-rw-r--r--PLUGINS/src/sky/sky.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/PLUGINS/src/sky/sky.c b/PLUGINS/src/sky/sky.c
index 0393dc2c..75bd9ec5 100644
--- a/PLUGINS/src/sky/sky.c
+++ b/PLUGINS/src/sky/sky.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: sky.c 1.15 2008/03/22 10:19:32 kls Exp $
+ * $Id: sky.c 2.1 2008/09/07 11:54:07 kls Exp $
*/
#include <sys/socket.h>
@@ -15,7 +15,7 @@
#include <vdr/plugin.h>
#include <vdr/sources.h>
-static const char *VERSION = "0.3.7";
+static const char *VERSION = "0.3.8";
static const char *DESCRIPTION = "Sky Digibox interface";
// --- cDigiboxDevice --------------------------------------------------------
@@ -160,12 +160,12 @@ bool cDigiboxDevice::GetTSPacket(uchar *&Data)
Data = tsBuffer->Get();
if (Data) {
// insert the actual PIDs:
- int Pid = (((uint16_t)Data[1] & PID_MASK_HI) << 8) | Data[2];
+ int Pid = (((uint16_t)Data[1] & TS_PID_MASK_HI) << 8) | Data[2];
if (Pid == DUMMYAPID)
Pid = apid;
else if (Pid == DUMMYVPID)
Pid = vpid;
- Data[1] = ((Pid >> 8) & 0xFF) | (Data[1] & ~PID_MASK_HI);
+ Data[1] = ((Pid >> 8) & 0xFF) | (Data[1] & ~TS_PID_MASK_HI);
Data[2] = Pid & 0xFF;
}
return true;