diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2007-03-31 14:39:04 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2007-03-31 14:39:04 +0000 |
commit | 087fa475072e9148efbfa86289abdf87e54e45b2 (patch) | |
tree | 81b1ca1460b40735f851e8e2394822e7b5af6062 | |
parent | 65e7226147bb1e9df6de22f2b42005fe5778bcdb (diff) | |
download | ffmpeg-087fa475072e9148efbfa86289abdf87e54e45b2.tar.gz |
fix x-octet-stream mime type
Originally committed as revision 8568 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index fdb0f54de1..29b785b3e9 100644 --- a/ffserver.c +++ b/ffserver.c @@ -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 */ |