[xiph-cvs] cvs commit: libshout/src shout.c

Michael Smith msmith at xiph.org
Tue Feb 11 04:22:15 PST 2003



msmith      03/02/11 07:22:15

  Modified:    src      shout.c
  Log:
  vorbis libshout clients will now send application/ogg instead of
  application/x-ogg

Revision  Changes    Path
1.22      +2 -2      libshout/src/shout.c

Index: shout.c
===================================================================
RCS file: /usr/local/cvsroot/libshout/src/shout.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- shout.c	6 Feb 2003 15:57:54 -0000	1.21
+++ shout.c	11 Feb 2003 12:22:15 -0000	1.22
@@ -800,7 +800,7 @@
                         return SHOUTERR_SOCKET;
         }
         if (self->format == SHOUT_FORMAT_VORBIS) {
-		if (!sock_write(self->socket, "Content-Type: application/x-ogg\r\n"))
+		if (!sock_write(self->socket, "Content-Type: application/ogg\r\n"))
                         return SHOUTERR_SOCKET;
         } else if (self->format == SHOUT_FORMAT_MP3) {
                 if (!sock_write(self->socket, "Content-Type: audio/mpeg\r\n"))
@@ -946,7 +946,7 @@
                         return SHOUTERR_SOCKET;
         }
         if (self->format == SHOUT_FORMAT_VORBIS) {
-		if (!sock_write(self->socket, "Content-Type: application/x-ogg\n"))
+		if (!sock_write(self->socket, "Content-Type: application/ogg\n"))
                         return SHOUTERR_SOCKET;
         } else if (self->format == SHOUT_FORMAT_MP3) {
                 if (!sock_write(self->socket, "Content-Type: audio/mpeg\n"))

<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