Commit 008c8abb authored by Michael Smith's avatar Michael Smith

Fix mp3 streaming for clients not using metadata

svn path=/trunk/icecast/; revision=4348
parent 5b2a7bc0
......@@ -144,7 +144,8 @@ static int format_mp3_write_buf_to_client(format_plugin_t *self,
{
int ret;
if(((mp3_state *)self->_state)->metadata)
if(((mp3_state *)self->_state)->metadata &&
((mp3_client_data *)(client->format_data))->use_metadata)
{
mp3_client_data *state = client->format_data;
int max = state->interval - state->offset;
......
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