diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2014-01-08 21:49:35 +0100 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2014-01-08 21:49:35 +0100 |
commit | 6d80369a7f30e7f294493bfc53451ffb08a6a472 (patch) | |
tree | e0de1c3efedbcec77143f49e433c3bcd79ef4287 /dynamite.c | |
parent | 6122b5ebedb64db39ffc79289795735b6fc1918c (diff) | |
download | vdr-plugin-dynamite-6d80369a7f30e7f294493bfc53451ffb08a6a472.tar.gz vdr-plugin-dynamite-6d80369a7f30e7f294493bfc53451ffb08a6a472.tar.bz2 |
new version 0.2.1v0.2.1
- put cUdev classes into a namespace, since pvrinput uses the same code
- add some vdr 2.1.3 compatibility stuff
- remove an undetected NULL pointer dereference at udev monitor
Diffstat (limited to 'dynamite.c')
-rw-r--r-- | dynamite.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -11,10 +11,14 @@ #include "monitor.h" #include "status.h" -static const char *VERSION = "0.2.0"; +static const char *VERSION = "0.2.1"; static const char *DESCRIPTION = tr("attach/detach devices on the fly"); static const char *MAINMENUENTRY = NULL; +#ifndef MAXDVBDEVICES +#define MAXDVBDEVICES (MAXDEVICES>>1) +#endif + class cDynamiteDvbDeviceProbe : public cDvbDeviceProbe { private: static bool firstProbe; @@ -113,7 +117,6 @@ cPluginDynamite::~cPluginDynamite() { cDynamiteStatus::DeInit(); cUdevMonitor::ShutdownAllMonitors(); - cUdev::Free(); if (cDynamicDevice::idleHook != NULL) { delete cDynamicDevice::idleHook; cDynamicDevice::idleHook = NULL; |