Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37557673
en ru br
Репозитории ALT
S:1.8.4-alt3
5.1: 0.4.2-alt0.M51.1
www.altlinux.org/Changes

Группа :: Звук
Пакет: 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];
     }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin