[xiph-cvs] cvs commit: icecast/src format_mp3.c

Michael Smith msmith at xiph.org
Mon Feb 9 20:20:44 PST 2004



msmith      04/02/09 23:20:44

  Modified:    src      format_mp3.c
  Log:
  Oops. Fix null-terminator.

Revision  Changes    Path
1.30      +1 -1      icecast/src/format_mp3.c

Index: format_mp3.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/format_mp3.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- format_mp3.c	10 Feb 2004 03:50:39 -0000	1.29
+++ format_mp3.c	10 Feb 2004 04:20:43 -0000	1.30
@@ -331,7 +331,7 @@
                             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

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list