shout: fixed bad error message printout

This commit is contained in:
Viliam Mateicka 2008-12-23 18:05:25 +01:00 committed by Max Kellermann
parent fe4a9a6d67
commit d96cda95a1

View File

@ -204,8 +204,8 @@ 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);
g_error("couldn't find shout encoder plugin \"%s\"\n",
encoding);
block_param = getBlockParam(param, "protocol");
if (block_param) {