From e8d8bd4c0db6322932b331638007e6f277a7e2bb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 5 Nov 2010 02:01:35 +0100 Subject: decoder/{mp4ff,ffmpeg}: add extension ".m4b" (audio book) Same as ".m4a". --- src/decoder/mp4ff_plugin.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/decoder/mp4ff_plugin.c') 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 = { -- cgit v1.2.3