Группа :: Звук
Пакет: deadbeef
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: deadbeef-plugins-ffmpeg-aac-support.patch
Скачать
Скачать
diff --git a/deadbeef/plugins/ffmpeg/ffmpeg.c b/deadbeef/plugins/ffmpeg/ffmpeg.c
index 2a9ac0b..98cd35d 100644
--- a/deadbeef/plugins/ffmpeg/ffmpeg.c
+++ b/deadbeef/plugins/ffmpeg/ffmpeg.c
@@ -55,7 +55,7 @@
static DB_decoder_t plugin;
static DB_functions_t *deadbeef;
-static const char * exts[] = { "m4a", "mpc", "mp+", "mpp", "wma", "shn", "aa3", "oma", "ac3", "vqf", "tta", NULL };
+static const char * exts[] = { "aac", "m4a", "mpc", "mp+", "mpp", "wma", "shn", "aa3", "oma", "ac3", "vqf", "tta", NULL };
enum {
FT_AAC = 0,
@@ -517,6 +517,9 @@ ffmpeg_insert (DB_playItem_t *after, const char *fname) {
ext++;
}
+ if (!strcasecmp (ext, "aac")) {
+ filetype = filetypes[FT_AAC];
+ }
if (!strcasecmp (ext, "m4a")) {
filetype = filetypes[FT_M4A];
}