From 7c69161913273d3a724f3798335d367c43247feb Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 20 Mar 2008 05:27:04 +0000 Subject: inputPlugins: add .oga suffix support for Ogg containers From : > .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 --- src/inputPlugins/oggvorbis_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inputPlugins/oggvorbis_plugin.c') diff --git a/src/inputPlugins/oggvorbis_plugin.c b/src/inputPlugins/oggvorbis_plugin.c index a2648ce6..3bcc505f 100644 --- a/src/inputPlugins/oggvorbis_plugin.c +++ b/src/inputPlugins/oggvorbis_plugin.c @@ -383,7 +383,7 @@ static unsigned int oggvorbis_try_decode(InputStream * inStream) return (ogg_stream_type_detect(inStream) == VORBIS) ? 1 : 0; } -static const char *oggvorbis_Suffixes[] = { "ogg", NULL }; +static const char *oggvorbis_Suffixes[] = { "ogg","oga", NULL }; static const char *oggvorbis_MimeTypes[] = { "application/ogg", "audio/x-vorbis+ogg", "application/x-ogg", -- cgit v1.2.3