Commit 8d52fab4 authored by brendan's avatar brendan

Add source comment to previous metadata bug fix: [sic]

svn path=/icecast/trunk/icecast/; revision=7100
parent 233f409d
/* -*- c-basic-offset: 4; -*- */
/* Icecast
*
* This program is distributed under the GNU General Public License, version 2.
......@@ -10,7 +11,6 @@
* and others (see AUTHORS for details).
*/
/* -*- c-basic-offset: 4; -*- */
/* format_mp3.c
**
** format plugin for mp3
......@@ -125,6 +125,10 @@ static int send_metadata(client_t *client, mp3_client_data *client_state,
fullmetadata_size = strlen (source_state->metadata) + sizeof (meta_fmt);
/* Noted without comment: When the metadata string is a multiple of
* 16 bytes, the "reference" shoutcast server increases the length
* byte by one and appends 16 nulls, rather than omitting the
* pointless trailing null. */
if (fullmetadata_size > 4079)
{
fullmetadata_size = 4079;
......
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