mvp: make the mvp_sample_rates array const

The array must never be modified, it's a constant lookup table.
This commit is contained in:
Max Kellermann 2009-02-25 21:54:02 +01:00
parent 99f535ad77
commit b4c65cac8c

View File

@ -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},