[vlc-devel] commit: Add .ogx in case someone ever needs it ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jan 11 10:43:08 CET 2009


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

Add .ogx in case someone ever needs it

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

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

diff --git a/src/input/demux.c b/src/input/demux.c
index e1fd4bc..dfbcb62 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -104,7 +104,8 @@ demux_t *__demux_New( vlc_object_t *p_obj,
             { "mod",  "mod" }, { "it",  "mod" }, { "s3m",  "mod" }, { "xm",   "mod" },
             { "nsv",  "nsv" },
             { "ogg",  "ogg" }, { "ogm",  "ogg" }, /* legacy Ogg */
-            { "oga",  "ogg" }, { "spx",  "ogg" }, { "ogv", "ogg" }, /*RFC5334*/
+            { "oga",  "ogg" }, { "spx",  "ogg" }, { "ogv", "ogg" },
+            { "ogx",  "ogg" }, /*RFC5334*/
             { "pva",  "pva" },
             { "rm",   "rm" },
             { "m4v",  "m4v" },
diff --git a/src/network/httpd.c b/src/network/httpd.c
index 3859b06..444a727 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -229,6 +229,7 @@ static const struct
     { ".ogg",   "application/ogg" },
     { ".ogm",   "application/ogg" },
     { ".ogv",   "video/ogg" },
+    { ".ogx",   "application/ogg" },
     { ".spx",   "audio/ogg" },
     { ".wav",   "audio/wav" },
     { ".wma",   "audio/x-ms-wma" },




More information about the vlc-devel mailing list