Browse code

fix x-octet-stream mime type

Originally committed as revision 8568 to svn://svn.ffmpeg.org/ffmpeg/trunk

Alex Beregszaszi authored on 2007/03/31 23:39:04
Showing 1 changed files
... ...
@@ -1541,7 +1541,7 @@ static int http_parse_request(HTTPContext *c)
1541 1541
     q += snprintf(q, q - (char *) c->buffer + c->buffer_size, "HTTP/1.0 200 OK\r\n");
1542 1542
     mime_type = c->stream->fmt->mime_type;
1543 1543
     if (!mime_type)
1544
-        mime_type = "application/x-octet_stream";
1544
+        mime_type = "application/x-octet-stream";
1545 1545
     q += snprintf(q, q - (char *) c->buffer + c->buffer_size, "Pragma: no-cache\r\n");
1546 1546
 
1547 1547
     /* for asf, we need extra headers */