Ignore empty options.

This commit is contained in:
Johns 2012-10-31 10:20:07 +01:00
parent 78015d90fb
commit 1b23074de7

View File

@ -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";
}