removed unneed check for protocol in shout plugin, will assume icecast2 protocol if not exist in config
This commit is contained in:

committed by
Max Kellermann

parent
0c43f78b11
commit
78f60c9c6d
@@ -209,8 +209,6 @@ static void *my_shout_init_driver(struct audio_output *audio_output,
|
|||||||
FATAL("couldn't find shout encoder plugin for \"%s\" "
|
FATAL("couldn't find shout encoder plugin for \"%s\" "
|
||||||
"at line %i\n", encoding, block_param->line);
|
"at line %i\n", encoding, block_param->line);
|
||||||
|
|
||||||
check_block_param("protocol");
|
|
||||||
|
|
||||||
block_param = getBlockParam(param, "protocol");
|
block_param = getBlockParam(param, "protocol");
|
||||||
if (block_param) {
|
if (block_param) {
|
||||||
if (0 == strcmp(block_param->value, "shoutcast") &&
|
if (0 == strcmp(block_param->value, "shoutcast") &&
|
||||||
|
Reference in New Issue
Block a user