diff options
author | Max Kellermann <max@duempel.org> | 2009-02-25 21:54:02 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-25 21:54:02 +0100 |
commit | b4c65cac8cb83bb8e1b3960e6b271d1c00eebbab (patch) | |
tree | ac2398d4edd1ae017b3476147c45fb66d7ac3ae5 /src/output | |
parent | 99f535ad773f9fb47d2db642e5a2baf9c56f641e (diff) | |
download | mpd-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 'src/output')
-rw-r--r-- | src/output/mvp_plugin.c | 2 |
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}, |