aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:15:30 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:15:30 +0000
commitf7e97c9a893619c86c16cf1c5417d52de3d77a70 (patch)
treea755d8fd5e65a5cf7e97e5326e6be0829eb71a1a /src/inputPlugins
parent05c41a80ed4c62ea66bdf5aa95d1b5b0fdc79d30 (diff)
downloadmpd-f7e97c9a893619c86c16cf1c5417d52de3d77a70.tar.gz
mpd-f7e97c9a893619c86c16cf1c5417d52de3d77a70.tar.xz
mpd-f7e97c9a893619c86c16cf1c5417d52de3d77a70.zip
constant pointers
There were some const pointers missing in the previous const-cleanup patch. git-svn-id: https://svn.musicpd.org/mpd/trunk@7290 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/inputPlugins/aac_plugin.c4
-rw-r--r--src/inputPlugins/mp4_plugin.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c
index 7fa1ba332..5d8eb74f3 100644
--- a/src/inputPlugins/aac_plugin.c
+++ b/src/inputPlugins/aac_plugin.c
@@ -444,8 +444,8 @@ static MpdTag *aacTagDup(char *file)
return ret;
}
-static char *aac_suffixes[] = { "aac", NULL };
-static char *aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL };
+static const char *aac_suffixes[] = { "aac", NULL };
+static const char *aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL };
InputPlugin aacPlugin = {
"aac",
diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c
index adaa644b9..7f7ff9433 100644
--- a/src/inputPlugins/mp4_plugin.c
+++ b/src/inputPlugins/mp4_plugin.c
@@ -414,8 +414,8 @@ static MpdTag *mp4TagDup(char *file)
return ret;
}
-static char *mp4_suffixes[] = { "m4a", "mp4", NULL };
-static char *mp4_mimeTypes[] = { "audio/mp4", "audio/m4a", NULL };
+static const char *mp4_suffixes[] = { "m4a", "mp4", NULL };
+static const char *mp4_mimeTypes[] = { "audio/mp4", "audio/m4a", NULL };
InputPlugin mp4Plugin = {
"mp4",