mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-01-03 14:56:34 -05:00
Oops. Fix null-terminator.
svn path=/trunk/icecast/; revision=5816
This commit is contained in:
parent
7bc7ea581a
commit
6128c0631c
@ -331,7 +331,7 @@ static int format_mp3_get_buffer(format_plugin_t *self, char *data,
|
||||
memcpy(state->metadata,
|
||||
state->metadata_buffer + 13,
|
||||
state->metadata_length - 15);
|
||||
state->metadata[state->metadata_length - 2] = 0;
|
||||
state->metadata[state->metadata_length - 15] = 0;
|
||||
free(state->metadata_buffer);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user