aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/oggvorbis_plugin.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-06-16 02:47:56 +0000
committerEric Wong <normalperson@yhbt.net>2008-06-16 02:47:56 +0000
commitac74ef1fde5859aabcffe6ec6c57100cb680d89f (patch)
tree1ed928077b4c8508d7d04ba6dc13ff3d9aa728bd /src/inputPlugins/oggvorbis_plugin.c
parent2e4c199274c67f729299a4b494a7614f23f4b084 (diff)
downloadmpd-ac74ef1fde5859aabcffe6ec6c57100cb680d89f.tar.gz
mpd-ac74ef1fde5859aabcffe6ec6c57100cb680d89f.tar.xz
mpd-ac74ef1fde5859aabcffe6ec6c57100cb680d89f.zip
inputPlugins: add .oga suffix support for Ogg containers
From <http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions>: > .oga - audio/ogg > > * Ogg Audio Profile (audio in Ogg container) > * Applications supporting .oga, .ogv SHOULD support decoding > from muxed Ogg streams > * Covers Ogg FLAC, Ghost, and OggPCM > * Although they share the same MIME type, Vorbis and Speex > use different file extensions. > * SHOULD contain a Skeleton logical bitstream. > * Vorbis and Speex may use .oga, but it is not the > prefered(sic) method of distributing these files because of > backwards-compatibility issues. Thanks to Qball and Rasi for the patch. https://svn.musicpd.org/mpd/trunk r7191 git-svn-id: https://svn.musicpd.org/mpd/branches/branch-0.13.0-fixes@7380 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputPlugins/oggvorbis_plugin.c')
-rw-r--r--src/inputPlugins/oggvorbis_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/oggvorbis_plugin.c b/src/inputPlugins/oggvorbis_plugin.c
index 4b4b87c8a..5f74b2656 100644
--- a/src/inputPlugins/oggvorbis_plugin.c
+++ b/src/inputPlugins/oggvorbis_plugin.c
@@ -408,7 +408,7 @@ static unsigned int oggvorbis_try_decode(InputStream * inStream)
return (ogg_stream_type_detect(inStream) == VORBIS) ? 1 : 0;
}
-static char *oggvorbis_Suffixes[] = { "ogg", NULL };
+static char *oggvorbis_Suffixes[] = { "ogg", "oga", NULL };
static char *oggvorbis_MimeTypes[] = { "application/ogg",
"audio/x-vorbis+ogg",
"application/x-ogg",