From b452a6991fe765da0b8e93051a035f5a0113f227 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Tue, 15 Jun 2010 19:44:44 +0200 Subject: acc filetype fix --- plugins/aac/aac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/aac') diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c index 36a48eb5..d7ceaeb4 100644 --- a/plugins/aac/aac.c +++ b/plugins/aac/aac.c @@ -514,10 +514,10 @@ aac_insert (DB_playItem_t *after, const char *fname) { return NULL; } else if (res == 0) { - ftype = "mp4"; + ftype = plugin.filetypes[1]; } else if (res == 1) { - ftype = "aac"; + ftype = plugin.filetypes[0]; } DB_playItem_t *it = deadbeef->pl_item_alloc (); @@ -543,7 +543,7 @@ aac_insert (DB_playItem_t *after, const char *fname) { } static const char * exts[] = { "aac", "mp4", "m4a", NULL }; -static const char *filetypes[] = { "aac", "mp4", NULL }; +static const char *filetypes[] = { "RAW AAC", "MP4 AAC", NULL }; // define plugin interface static DB_decoder_t plugin = { -- cgit v1.2.3