aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/parser.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-07-09 13:01:06 +0000
committerMåns Rullgård <mans@mansr.com>2006-07-09 13:01:06 +0000
commit608bd8436557ca1ff9a9712ac38ccc688a9272a1 (patch)
tree2b6ee3796e1937cf64a0b7eb8b68407ea793dc53 /libavcodec/parser.c
parentaf9e7d181068a42272b290e48c43c343b492a349 (diff)
downloadffmpeg-608bd8436557ca1ff9a9712ac38ccc688a9272a1.tar.gz
make some tables const
Originally committed as revision 5692 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r--libavcodec/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 008c264dc2..59087cdb82 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -832,12 +832,12 @@ static const int ac3_channels[8] = {
#endif /* CONFIG_AC3_PARSER */
#ifdef CONFIG_AAC_PARSER
-static int aac_sample_rates[16] = {
+static const int aac_sample_rates[16] = {
96000, 88200, 64000, 48000, 44100, 32000,
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
};
#endif