aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/oggflac_plugin.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-03-20 05:27:04 +0000
committerEric Wong <normalperson@yhbt.net>2008-03-20 05:27:04 +0000
commit7c69161913273d3a724f3798335d367c43247feb (patch)
tree8325a2ce134f04ebe8a1940f11a30ecd6b520e6d /src/inputPlugins/oggflac_plugin.c
parent7d574703ad45f4e11425598ef59deef20dc654e9 (diff)
downloadmpd-7c69161913273d3a724f3798335d367c43247feb.tar.gz
mpd-7c69161913273d3a724f3798335d367c43247feb.tar.xz
mpd-7c69161913273d3a724f3798335d367c43247feb.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. git-svn-id: https://svn.musicpd.org/mpd/trunk@7191 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/oggflac_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputPlugins/oggflac_plugin.c b/src/inputPlugins/oggflac_plugin.c
index 6b8a682d5..15536ab9a 100644
--- a/src/inputPlugins/oggflac_plugin.c
+++ b/src/inputPlugins/oggflac_plugin.c
@@ -390,7 +390,7 @@ fail:
return ret;
}
-static const char *oggflac_Suffixes[] = { "ogg", NULL };
+static const char *oggflac_Suffixes[] = { "ogg", "oga",NULL };
static const char *oggflac_mime_types[] = { "audio/x-flac+ogg",
"application/ogg",
"application/x-ogg",