Commit 608bd843 authored by Måns Rullgård's avatar Måns Rullgård

make some tables const

Originally committed as revision 5692 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent af9e7d18
...@@ -832,12 +832,12 @@ static const int ac3_channels[8] = { ...@@ -832,12 +832,12 @@ static const int ac3_channels[8] = {
#endif /* CONFIG_AC3_PARSER */ #endif /* CONFIG_AC3_PARSER */
#ifdef CONFIG_AAC_PARSER #ifdef CONFIG_AAC_PARSER
static int aac_sample_rates[16] = { static const int aac_sample_rates[16] = {
96000, 88200, 64000, 48000, 44100, 32000, 96000, 88200, 64000, 48000, 44100, 32000,
24000, 22050, 16000, 12000, 11025, 8000, 7350 24000, 22050, 16000, 12000, 11025, 8000, 7350
}; };
static int aac_channels[8] = { static const int aac_channels[8] = {
0, 1, 2, 3, 4, 5, 6, 8 0, 1, 2, 3, 4, 5, 6, 8
}; };
#endif #endif
......
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