Fix some error messages concerning _ao output driver
git-svn-id: https://svn.musicpd.org/mpd/trunk@5268 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
d7e3b80f62
commit
b2488e469a
@ -122,7 +122,7 @@ static int audioOutputAo_initDriver(AudioOutput * audioOutput,
|
|||||||
key = strtok_r(n1, "=", &stk2);
|
key = strtok_r(n1, "=", &stk2);
|
||||||
if (!key) {
|
if (!key) {
|
||||||
ERROR("problems parsing "
|
ERROR("problems parsing "
|
||||||
"ao_driver_options \"%s\"\n", n1);
|
"options \"%s\"\n", n1);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
/*found = 0;
|
/*found = 0;
|
||||||
@ -141,7 +141,7 @@ static int audioOutputAo_initDriver(AudioOutput * audioOutput,
|
|||||||
value = strtok_r(NULL, "", &stk2);
|
value = strtok_r(NULL, "", &stk2);
|
||||||
if (!value) {
|
if (!value) {
|
||||||
ERROR("problems parsing "
|
ERROR("problems parsing "
|
||||||
"ao_driver_options \"%s\"\n", n1);
|
"options \"%s\"\n", n1);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
ao_append_option(&ad->options, key, value);
|
ao_append_option(&ad->options, key, value);
|
||||||
|
Loading…
Reference in New Issue
Block a user