diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inputPlugins/aac_plugin.c | 7 | ||||
-rw-r--r-- | src/inputPlugins/mp4_plugin.c | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c index 529689706..89095ef82 100644 --- a/src/inputPlugins/aac_plugin.c +++ b/src/inputPlugins/aac_plugin.c @@ -453,7 +453,8 @@ static MpdTag *aacTagDup(char *file) return ret; } -static char *aacSuffixes[] = { "aac", NULL }; +static char *aac_suffixes[] = { "aac", NULL }; +static char *aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL }; InputPlugin aacPlugin = { "aac", @@ -464,8 +465,8 @@ InputPlugin aacPlugin = { aac_decode, aacTagDup, INPUT_PLUGIN_STREAM_FILE, - aacSuffixes, - NULL + aac_suffixes, + aac_mimeTypes }; #else diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c index 1ebf556c6..b30d6593a 100644 --- a/src/inputPlugins/mp4_plugin.c +++ b/src/inputPlugins/mp4_plugin.c @@ -433,7 +433,8 @@ static MpdTag *mp4TagDup(char *file) return ret; } -static char *mp4Suffixes[] = { "m4a", "mp4", NULL }; +static char *mp4_suffixes[] = { "m4a", "mp4", NULL }; +static char *mp4_mimeTypes[] = { "audio/mp4", "audio/m4a", NULL }; InputPlugin mp4Plugin = { "mp4", @@ -444,8 +445,8 @@ InputPlugin mp4Plugin = { mp4_decode, mp4TagDup, INPUT_PLUGIN_STREAM_FILE, - mp4Suffixes, - NULL + mp4_suffixes, + mp4_mimeTypes }; #else |