Mercurial > libavcodec.hg
comparison parser.c @ 3456:fa0b285144f0 libavcodec
make some tables const
| author | mru |
|---|---|
| date | Sun, 09 Jul 2006 13:01:06 +0000 |
| parents | cc4b4ea83e29 |
| children | 949bc256f1e3 |
comparison
equal
deleted
inserted
replaced
| 3455:cc4b4ea83e29 | 3456:fa0b285144f0 |
|---|---|
| 830 2, 1, 2, 3, 3, 4, 4, 5 | 830 2, 1, 2, 3, 3, 4, 4, 5 |
| 831 }; | 831 }; |
| 832 #endif /* CONFIG_AC3_PARSER */ | 832 #endif /* CONFIG_AC3_PARSER */ |
| 833 | 833 |
| 834 #ifdef CONFIG_AAC_PARSER | 834 #ifdef CONFIG_AAC_PARSER |
| 835 static int aac_sample_rates[16] = { | 835 static const int aac_sample_rates[16] = { |
| 836 96000, 88200, 64000, 48000, 44100, 32000, | 836 96000, 88200, 64000, 48000, 44100, 32000, |
| 837 24000, 22050, 16000, 12000, 11025, 8000, 7350 | 837 24000, 22050, 16000, 12000, 11025, 8000, 7350 |
| 838 }; | 838 }; |
| 839 | 839 |
| 840 static int aac_channels[8] = { | 840 static const int aac_channels[8] = { |
| 841 0, 1, 2, 3, 4, 5, 6, 8 | 841 0, 1, 2, 3, 4, 5, 6, 8 |
| 842 }; | 842 }; |
| 843 #endif | 843 #endif |
| 844 | 844 |
| 845 #ifdef CONFIG_AC3_PARSER | 845 #ifdef CONFIG_AC3_PARSER |
