Mercurial > libavcodec.hg
changeset 3456:fa0b285144f0 libavcodec
make some tables const
author | mru |
---|---|
date | Sun, 09 Jul 2006 13:01:06 +0000 |
parents | cc4b4ea83e29 |
children | ad66c11aeab4 |
files | parser.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/parser.c Sun Jul 09 12:02:15 2006 +0000 +++ b/parser.c Sun Jul 09 13:01:06 2006 +0000 @@ -832,12 +832,12 @@ #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