[xiph-commits] r9347 - icecast/branches/kh/icecast/src

karl at motherfish-iii.xiph.org karl at motherfish-iii.xiph.org
Sat Jun 4 06:22:50 PDT 2005


Author: karl
Date: 2005-06-04 06:22:47 -0700 (Sat, 04 Jun 2005)
New Revision: 9347

Modified:
   icecast/branches/kh/icecast/src/format_mp3.c
Log:
test fix for real/helix metadata bug. Make the initial metadata StreamTitle='';
so that playback isn't screwed up


Modified: icecast/branches/kh/icecast/src/format_mp3.c
===================================================================
--- icecast/branches/kh/icecast/src/format_mp3.c	2005-06-04 01:03:02 UTC (rev 9346)
+++ icecast/branches/kh/icecast/src/format_mp3.c	2005-06-04 13:22:47 UTC (rev 9347)
@@ -101,9 +101,9 @@
 
     /* initial metadata needs to be blank for sending to clients and for
        comparing with new metadata */
-    meta = refbuf_new (2);
-    memcpy (meta->data, "\0\0", 2);
-    meta->len = 1;
+    meta = refbuf_new (17);
+    memcpy (meta->data, "\001StreamTitle=''", 17);
+    meta->len = 17;
     state->metadata = meta;
     state->interval = -1;
 



More information about the commits mailing list