projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use depricated xxx_cmdline_parser_configfile().
[paraslash.git]
/
fade.c
diff --git
a/fade.c
b/fade.c
index a3805187fdfbfc07b63fe5fa834f9371abcf7e70..d9834a2b173eeffc2b3bc6744e20065ea2052647 100644
(file)
--- a/
fade.c
+++ b/
fade.c
@@
-276,9
+276,16
@@
int main(int argc, char *argv[])
conf.config_file_arg);
exit(EXIT_FAILURE);
}
conf.config_file_arg);
exit(EXIT_FAILURE);
}
- if (ret)
- fade_cmdline_parser_configfile(conf.config_file_arg,
- &conf, 0, 0, 0);
+ if (ret) {
+ struct fade_cmdline_parser_params params = {
+ .override = 0,
+ .initialize = 0,
+ .check_required = 0,
+ .check_ambiguity = 0
+ };
+ fade_cmdline_parser_config_file(conf.config_file_arg,
+ &conf, ¶ms);
+ }
ret = open_mixer();
if (ret < 0) {
PARA_EMERG_LOG("can not open mixer device %s.",
ret = open_mixer();
if (ret < 0) {
PARA_EMERG_LOG("can not open mixer device %s.",