Add .ogx in case someone ever needs it
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 11 Jan 2009 09:40:37 +0000 (11:40 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 11 Jan 2009 09:40:37 +0000 (11:40 +0200)
src/input/demux.c
src/network/httpd.c

index e1fd4bc..dfbcb62 100644 (file)
@@ -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" },
index 3859b06..444a727 100644 (file)
@@ -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" },