opnsense-ports/multimedia/vdr/files/patch-device.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

20 lines
716 B
C++

--- device.h.orig
+++ device.h
@@ -25,7 +25,7 @@
#include "thread.h"
#include "tools.h"
-#define MAXDEVICES 16 // the maximum number of devices in the system
+#define MAXDEVICES 64 // the maximum number of devices in the system
#define MAXPIDHANDLES 64 // the maximum number of different PIDs per device
#define MAXRECEIVERS 16 // the maximum number of receivers per device
#define MAXVOLUME 255
@@ -105,7 +105,7 @@ class cDevice : public cThread {
friend class cDeviceHook;
private:
static int numDevices;
- static int useDevice;
+ static uint64_t useDevice;
static cDevice *device[MAXDEVICES];
static cDevice *primaryDevice;
static cDevice *avoidDevice;