diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-12-22 11:28:56 -0800 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-12-27 00:09:16 -0800 |
commit | 0e5c1dc9a32b64e1b3c40025c96717b62b40dfc7 (patch) | |
tree | 22d3b3482908ffd3002dae2b8ecbccd50657bf40 /ffserver.c | |
parent | c5b3c4c7417170fb0a5da1e64e1c5dee761c4ff5 (diff) | |
download | ffmpeg-0e5c1dc9a32b64e1b3c40025c96717b62b40dfc7.tar.gz |
ffserver: make our 404 explicitly HTML5/UTF-8
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index c7dbb16f80..0dd3c70ec0 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1758,8 +1758,12 @@ static int http_parse_request(HTTPContext *c) "HTTP/1.0 404 Not Found\r\n" "Content-type: text/html\r\n" "\r\n" + "<!DOCTYPE html>\n" "<html>\n" - "<head><title>404 Not Found</title></head>\n" + "<head>\n" + "<meta charset="UTF-8">\n" + "<title>404 Not Found</title>\n" + "</head>\n" "<body>%s</body>\n" "</html>\n", msg); q += strlen(q); |