Commit 4674d044 authored by Viliam Mateicka's avatar Viliam Mateicka

shout: fixed bad error message printout

parent 37796699
......@@ -203,9 +203,9 @@ static void *my_shout_init_driver(struct audio_output *audio_output,
}
sd->encoder = shout_encoder_plugin_get(encoding);
if (sd->encoder == NULL)
g_error("couldn't find shout encoder plugin for \"%s\" "
"at line %i\n", encoding, block_param->line);
if (sd->encoder == NULL) {
g_error("couldn't find shout encoder plugin for \"%s\"\n", encoding);
}
block_param = getBlockParam(param, "protocol");
if (block_param) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment