[vlc-devel] commit: HTTPd: use the RFC5334 MIME types for their respective extensions ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jan 11 10:30:13 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jan 11 11:28:27 2009 +0200| [4a8a7265472108dc4af5131fbfd540fd1e758bbf] | committer: Rémi Denis-Courmont 

HTTPd: use the RFC5334 MIME types for their respective extensions

Currently, we stick to legacy application/ogg for legacy extensions.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a8a7265472108dc4af5131fbfd540fd1e758bbf
---

 src/network/httpd.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/network/httpd.c b/src/network/httpd.c
index 96f702c..3859b06 100644
--- 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" },




More information about the vlc-devel mailing list