summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-31 23:02:22 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-05-31 23:02:22 +0200
commitc84e7833dc96e14d2ff1ca7a208518d5fe7b5b69 (patch)
treebc5d7a093f0dbaf6b3f79dc1eb168e32fa3db55f /plugins
parentf527057e3be407d79efe82284332da28e6c51f8f (diff)
added .aac to list of ffmpeg extentions
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ffmpeg/ffmpeg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
index 6fa3623f..62c60bf8 100644
--- a/plugins/ffmpeg/ffmpeg.c
+++ b/plugins/ffmpeg/ffmpeg.c
@@ -55,7 +55,7 @@
static DB_decoder_t plugin;
static DB_functions_t *deadbeef;
-static const char * exts[] = { "m4a", "mp4", "mp+", "mpp", "wma", "shn", "aa3", "oma", "ac3", "vqf", NULL };
+static const char * exts[] = { "m4a", "aac", "mp4", "mp+", "mpp", "wma", "shn", "aa3", "oma", "ac3", "vqf", NULL };
enum {
FT_AAC = 0,
@@ -519,6 +519,9 @@ ffmpeg_insert (DB_playItem_t *after, const char *fname) {
if (!strcasecmp (ext, "m4a")) {
filetype = filetypes[FT_M4A];
}
+ if (!strcasecmp (ext, "aac")) {
+ filetype = filetypes[FT_AAC];
+ }
else if (!strcasecmp (ext, "mp4")) {
filetype = filetypes[FT_M4A];
}