git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23908ee
)
HTTPd: use the RFC5334 MIME types for their respective extensions
author
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 11 Jan 2009 09:28:27 +0000
(11:28 +0200)
committer
Rémi Denis-Courmont
<rdenis@simphalempin.com>
Sun, 11 Jan 2009 09:28:27 +0000
(11:28 +0200)
Currently, we stick to legacy application/ogg for legacy extensions.
src/network/httpd.c
patch
|
blob
|
history
diff --git
a/src/network/httpd.c
b/src/network/httpd.c
index
96f702c
..
3859b06
100644
(file)
--- a/
src/network/httpd.c
+++ b/
src/network/httpd.c
@@
-225,9
+225,11
@@
static const struct
{ ".mpe", "video/mpeg" },
{ ".mov", "video/quicktime" },
{ ".moov", "video/quicktime" },
+ { ".oga", "audio/ogg" },
{ ".ogg", "application/ogg" },
{ ".ogm", "application/ogg" },
- { ".ogv", "application/ogg" },
+ { ".ogv", "video/ogg" },
+ { ".spx", "audio/ogg" },
{ ".wav", "audio/wav" },
{ ".wma", "audio/x-ms-wma" },
{ ".wmv", "video/x-ms-wmv" },