aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/shout_plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/shout_plugin.c b/src/output/shout_plugin.c
index fe5fc9a16..7fdf4c1e0 100644
--- a/src/output/shout_plugin.c
+++ b/src/output/shout_plugin.c
@@ -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) {