Commit 03df37d5 authored by alex's avatar alex

fix x-octet-stream mime type

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8568 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 903f3382
......@@ -1541,7 +1541,7 @@ static int http_parse_request(HTTPContext *c)
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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment