1
0
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:
Michael Smith 2004-02-10 04:20:43 +00:00
parent 7bc7ea581a
commit 6128c0631c

View File

@ -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