Commit f53d6a24 authored by reimar's avatar reimar

ff_swb_offset_* tables should be const.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19782 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 525b49eb
...@@ -1003,7 +1003,7 @@ static const uint16_t swb_offset_128_8[] = { ...@@ -1003,7 +1003,7 @@ static const uint16_t swb_offset_128_8[] = {
36, 44, 52, 60, 72, 88, 108, 128 36, 44, 52, 60, 72, 88, 108, 128
}; };
const uint16_t *ff_swb_offset_1024[] = { const uint16_t * const ff_swb_offset_1024[] = {
swb_offset_1024_96, swb_offset_1024_96, swb_offset_1024_64, swb_offset_1024_96, swb_offset_1024_96, swb_offset_1024_64,
swb_offset_1024_48, swb_offset_1024_48, swb_offset_1024_32, swb_offset_1024_48, swb_offset_1024_48, swb_offset_1024_32,
swb_offset_1024_24, swb_offset_1024_24, swb_offset_1024_16, swb_offset_1024_24, swb_offset_1024_24, swb_offset_1024_16,
...@@ -1011,7 +1011,7 @@ const uint16_t *ff_swb_offset_1024[] = { ...@@ -1011,7 +1011,7 @@ const uint16_t *ff_swb_offset_1024[] = {
swb_offset_1024_8 swb_offset_1024_8
}; };
const uint16_t *ff_swb_offset_128[] = { const uint16_t * const ff_swb_offset_128[] = {
/* The last entry on the following row is swb_offset_128_64 but is a /* The last entry on the following row is swb_offset_128_64 but is a
duplicate of swb_offset_128_96. */ duplicate of swb_offset_128_96. */
swb_offset_128_96, swb_offset_128_96, swb_offset_128_96, swb_offset_128_96, swb_offset_128_96, swb_offset_128_96,
......
...@@ -65,8 +65,8 @@ extern const uint16_t ff_aac_spectral_sizes[11]; ...@@ -65,8 +65,8 @@ extern const uint16_t ff_aac_spectral_sizes[11];
extern const float *ff_aac_codebook_vectors[]; extern const float *ff_aac_codebook_vectors[];
extern const uint16_t *ff_swb_offset_1024[13]; extern const uint16_t * const ff_swb_offset_1024[13];
extern const uint16_t *ff_swb_offset_128 [13]; extern const uint16_t * const ff_swb_offset_128 [13];
extern const uint8_t ff_tns_max_bands_1024[13]; extern const uint8_t ff_tns_max_bands_1024[13];
extern const uint8_t ff_tns_max_bands_128 [13]; extern const uint8_t ff_tns_max_bands_128 [13];
......
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