aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp4ff_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-11-05 02:01:35 +0100
committerMax Kellermann <max@duempel.org>2010-11-05 02:01:35 +0100
commite8d8bd4c0db6322932b331638007e6f277a7e2bb (patch)
tree31060ec5467978424d5278e030139127bb28c957 /src/decoder/mp4ff_plugin.c
parent8d5fa754e8e9a0de7b03413bb5433e1626368927 (diff)
downloadmpd-e8d8bd4c0db6322932b331638007e6f277a7e2bb.tar.gz
mpd-e8d8bd4c0db6322932b331638007e6f277a7e2bb.tar.xz
mpd-e8d8bd4c0db6322932b331638007e6f277a7e2bb.zip
decoder/{mp4ff,ffmpeg}: add extension ".m4b" (audio book)
Same as ".m4a".
Diffstat (limited to '')
-rw-r--r--src/decoder/mp4ff_plugin.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c
index d5afe084b..4d4d47c6c 100644
--- a/src/decoder/mp4ff_plugin.c
+++ b/src/decoder/mp4ff_plugin.c
@@ -425,7 +425,13 @@ mp4_tag_dup(const char *file)
return ret;
}
-static const char *const mp4_suffixes[] = { "m4a", "mp4", NULL };
+static const char *const mp4_suffixes[] = {
+ "m4a",
+ "m4b",
+ "mp4",
+ NULL
+};
+
static const char *const mp4_mime_types[] = { "audio/mp4", "audio/m4a", NULL };
const struct decoder_plugin mp4ff_decoder_plugin = {