From b4c65cac8cb83bb8e1b3960e6b271d1c00eebbab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 25 Feb 2009 21:54:02 +0100 Subject: mvp: make the mvp_sample_rates array const The array must never be modified, it's a constant lookup table. --- src/output/mvp_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}, -- cgit v1.2.3