diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-31 23:02:22 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-05-31 23:02:22 +0200 |
commit | c84e7833dc96e14d2ff1ca7a208518d5fe7b5b69 (patch) | |
tree | bc5d7a093f0dbaf6b3f79dc1eb168e32fa3db55f /plugins | |
parent | f527057e3be407d79efe82284332da28e6c51f8f (diff) |
added .aac to list of ffmpeg extentions
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ffmpeg/ffmpeg.c | 5 |
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]; } |