summaryrefslogtreecommitdiff
path: root/softhddevice.cpp
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-10-31 10:20:07 +0100
committerJohns <johns98@gmx.net>2012-10-31 10:20:07 +0100
commit1b23074de75309aa788d37f98fe43abb31189c9c (patch)
treeb84c9854e185ea0709e488cf93a6fa98ed0a29c5 /softhddevice.cpp
parent78015d90fb880c002f3245b9f309a3f230d43cb2 (diff)
downloadvdr-plugin-softhddevice-1b23074de75309aa788d37f98fe43abb31189c9c.tar.gz
vdr-plugin-softhddevice-1b23074de75309aa788d37f98fe43abb31189c9c.tar.bz2
Ignore empty options.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r--softhddevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp
index ef76f26..831f2d2 100644
--- a/softhddevice.cpp
+++ b/softhddevice.cpp
@@ -50,7 +50,7 @@ extern "C"
/// vdr-plugin version number.
/// Makefile extracts the version number for generating the file name
/// for the distribution archive.
-static const char *const VERSION = "0.5.2"
+static const char *const VERSION = "0.5.2rc1"
#ifdef GIT_REV
"-GIT" GIT_REV
#endif
@@ -2545,7 +2545,7 @@ cString cPluginSoftHdDevice::SVDRPCommand(const char *command,
ConfigAC3Device = strdup(s + 2);
AudioSetDeviceAC3(ConfigAC3Device);
- } else {
+ } else if ( *s ) {
free(tmp);
return "unsupported option";
}