Commit b4c65cac authored by Max Kellermann's avatar Max Kellermann

mvp: make the mvp_sample_rates array const

The array must never be modified, it's a constant lookup table.
parent 99f535ad
...@@ -68,7 +68,7 @@ struct mvp_data { ...@@ -68,7 +68,7 @@ struct mvp_data {
int fd; int fd;
}; };
static unsigned mvp_sample_rates[][3] = { static const unsigned mvp_sample_rates[][3] = {
{9, 8000, 32000}, {9, 8000, 32000},
{10, 11025, 44100}, {10, 11025, 44100},
{11, 12000, 48000}, {11, 12000, 48000},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment