[xiph-cvs] cvs commit: icecast/src format_mp3.c
Michael Smith
msmith at xiph.org
Fri Feb 14 05:39:02 PST 2003
msmith 03/02/14 08:39:02
Modified: src format_mp3.c
Log:
Fix mp3 streaming for clients not using metadata
Revision Changes Path
1.13 +2 -1 icecast/src/format_mp3.c
Index: format_mp3.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/format_mp3.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- format_mp3.c 18 Jan 2003 12:30:29 -0000 1.12
+++ format_mp3.c 14 Feb 2003 13:39:02 -0000 1.13
@@ -144,7 +144,8 @@
{
int ret;
- if(((mp3_state *)self->_state)->metadata)
+ if(((mp3_state *)self->_state)->metadata &&
+ ((mp3_client_data *)(client->format_data))->use_metadata)
{
mp3_client_data *state = client->format_data;
int max = state->interval - state->offset;
<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