[Ffmpeg-cvslog] r8568 - trunk/ffserver.c

alex subversion
Sat Mar 31 16:39:05 CEST 2007


Author: alex
Date: Sat Mar 31 16:39:04 2007
New Revision: 8568

Modified:
   trunk/ffserver.c

Log:
fix x-octet-stream mime type

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Sat Mar 31 16:39:04 2007
@@ -1541,7 +1541,7 @@ static int http_parse_request(HTTPContex
     q += snprintf(q, q - (char *) c->buffer + c->buffer_size, "HTTP/1.0 200 OK\r\n");
     mime_type = c->stream->fmt->mime_type;
     if (!mime_type)
-        mime_type = "application/x-octet_stream";
+        mime_type = "application/x-octet-stream";
     q += snprintf(q, q - (char *) c->buffer + c->buffer_size, "Pragma: no-cache\r\n");
 
     /* for asf, we need extra headers */




More information about the ffmpeg-cvslog mailing list