mirror of
https://projects.vdr-developer.org/git/vdr-plugin-softhddevice.git
synced 2023-10-10 19:16:51 +02:00
Ignore empty options.
This commit is contained in:
parent
78015d90fb
commit
1b23074de7
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user