aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-07 19:22:26 +0100
committerMax Kellermann <max@duempel.org>2014-11-10 18:00:30 +0100
commitc64ad78c7bfa83585775617c692367e247966330 (patch)
treee7ddc77cdab766460cd471406d27ba2af08ccbfa /src
parent4a043a915f369cc49d40aef4c6d97f2dbab71c5f (diff)
downloadmpd-c64ad78c7bfa83585775617c692367e247966330.tar.gz
mpd-c64ad78c7bfa83585775617c692367e247966330.tar.xz
mpd-c64ad78c7bfa83585775617c692367e247966330.zip
decoder/ffmpeg: support opus
Diffstat (limited to 'src')
-rw-r--r--src/decoder/FfmpegDecoderPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/FfmpegDecoderPlugin.cxx b/src/decoder/FfmpegDecoderPlugin.cxx
index 104129ad9..69e7a6c8b 100644
--- a/src/decoder/FfmpegDecoderPlugin.cxx
+++ b/src/decoder/FfmpegDecoderPlugin.cxx
@@ -620,7 +620,7 @@ static const char *const ffmpeg_suffixes[] = {
"mj2", "mjpeg", "mjpg", "mka", "mkv", "mlp", "mm", "mmf", "mov", "mp+",
"mp1", "mp2", "mp3", "mp4", "mpc", "mpeg", "mpg", "mpga", "mpp", "mpu",
"mve", "mvi", "mxf", "nc", "nsv", "nut", "nuv", "oga", "ogm", "ogv",
- "ogx", "oma", "ogg", "omg", "psp", "pva", "qcp", "qt", "r3d", "ra",
+ "ogx", "oma", "ogg", "omg", "opus", "psp", "pva", "qcp", "qt", "r3d", "ra",
"ram", "rl2", "rm", "rmvb", "roq", "rpl", "rvc", "shn", "smk", "snd",
"sol", "son", "spx", "str", "swf", "tgi", "tgq", "tgv", "thp", "ts",
"tsp", "tta", "xa", "xvid", "uv", "uv2", "vb", "vid", "vob", "voc",
@@ -654,6 +654,7 @@ static const char *const ffmpeg_mime_types[] = {
"audio/mpeg",
"audio/musepack",
"audio/ogg",
+ "audio/opus",
"audio/qcelp",
"audio/vorbis",
"audio/vorbis+ogg",