fix build vuduo - not yet ready

Origin commit data
------------------
Branch: master
Commit: e9c79288bc
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2019-04-05 (Fri, 05 Apr 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2019-04-05 02:23:57 +02:00
committed by max_10
parent 74d35205ea
commit 8a439cdc95
36 changed files with 214 additions and 21 deletions

View File

@@ -18,7 +18,7 @@ static const char * FILENAME = "[descrambler]";
static int desc_fd = -1;
static int desc_user_count = 0;
#if HAVE_ARM_HARDWARE
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
static const char *descrambler_filename = "/dev/ciplus_ca0";
@@ -131,7 +131,7 @@ int descrambler_set_key(int index, int parity, unsigned char *data)
int descrambler_set_pid(int index, int enable, int pid)
{
struct ca_pid p;
#if HAVE_ARM_HARDWARE
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
unsigned int flags = 0x80;
if (index)