Commit 7bb8b876 authored by Lukasz Marek's avatar Lukasz Marek Committed by Paul B Mahol

lavc/adpcm_data: fix const misplacement

Signed-off-by: 's avatarLukasz Marek <lukasz.m.luki@gmail.com>
parent 0792b873
...@@ -47,7 +47,7 @@ static const int8_t adpcm_index_table5[32] = { ...@@ -47,7 +47,7 @@ static const int8_t adpcm_index_table5[32] = {
-1, -1, -1, -1, -1, -1, -1, -1, 1, 2, 4, 6, 8, 10, 13, 16, -1, -1, -1, -1, -1, -1, -1, -1, 1, 2, 4, 6, 8, 10, 13, 16,
}; };
const int8_t const *ff_adpcm_index_tables[4] = { const int8_t * const ff_adpcm_index_tables[4] = {
&adpcm_index_table2[0], &adpcm_index_table2[0],
&adpcm_index_table3[0], &adpcm_index_table3[0],
&ff_adpcm_index_table[0], &ff_adpcm_index_table[0],
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
static const uint8_t ff_adpcm_ima_block_sizes[4] = { 4, 12, 4, 20 }; static const uint8_t ff_adpcm_ima_block_sizes[4] = { 4, 12, 4, 20 };
static const uint8_t ff_adpcm_ima_block_samples[4] = { 16, 32, 8, 32 }; static const uint8_t ff_adpcm_ima_block_samples[4] = { 16, 32, 8, 32 };
extern const int8_t const *ff_adpcm_index_tables[4]; extern const int8_t * const ff_adpcm_index_tables[4];
extern const int8_t ff_adpcm_index_table[16]; extern const int8_t ff_adpcm_index_table[16];
extern const int16_t ff_adpcm_step_table[89]; extern const int16_t ff_adpcm_step_table[89];
extern const int16_t ff_adpcm_oki_step_table[49]; extern const int16_t ff_adpcm_oki_step_table[49];
......
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