aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-25 21:54:02 +0100
committerMax Kellermann <max@duempel.org>2009-02-25 21:54:02 +0100
commitb4c65cac8cb83bb8e1b3960e6b271d1c00eebbab (patch)
treeac2398d4edd1ae017b3476147c45fb66d7ac3ae5 /src/output
parent99f535ad773f9fb47d2db642e5a2baf9c56f641e (diff)
downloadmpd-b4c65cac8cb83bb8e1b3960e6b271d1c00eebbab.tar.gz
mpd-b4c65cac8cb83bb8e1b3960e6b271d1c00eebbab.tar.xz
mpd-b4c65cac8cb83bb8e1b3960e6b271d1c00eebbab.zip
mvp: make the mvp_sample_rates array const
The array must never be modified, it's a constant lookup table.
Diffstat (limited to '')
-rw-r--r--src/output/mvp_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/mvp_plugin.c b/src/output/mvp_plugin.c
index 3c302f0a0..efa016f23 100644
--- a/src/output/mvp_plugin.c
+++ b/src/output/mvp_plugin.c
@@ -68,7 +68,7 @@ struct mvp_data {
int fd;
};
-static unsigned mvp_sample_rates[][3] = {
+static const unsigned mvp_sample_rates[][3] = {
{9, 8000, 32000},
{10, 11025, 44100},
{11, 12000, 48000},