summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2014-02-07 16:42:17 +0100
committerPaul B Mahol <onemda@gmail.com>2014-02-07 19:33:20 +0000
commit7bb8b876545273b5204c45be4b2c5307cdda1b9e (patch)
treeafef5ddbb75131c1a97e3448a146e551b5f2d837
parent0792b8733570cac2a44ea856e64c54773632a086 (diff)
lavc/adpcm_data: fix const misplacement
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
-rw-r--r--libavcodec/adpcm_data.c2
-rw-r--r--libavcodec/adpcm_data.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/adpcm_data.c b/libavcodec/adpcm_data.c
index 1d3e579a89..2109285530 100644
--- a/libavcodec/adpcm_data.c
+++ b/libavcodec/adpcm_data.c
@@ -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,
};
-const int8_t const *ff_adpcm_index_tables[4] = {
+const int8_t * const ff_adpcm_index_tables[4] = {
&adpcm_index_table2[0],
&adpcm_index_table3[0],
&ff_adpcm_index_table[0],
diff --git a/libavcodec/adpcm_data.h b/libavcodec/adpcm_data.h
index a14d520885..6589bc56c9 100644
--- a/libavcodec/adpcm_data.h
+++ b/libavcodec/adpcm_data.h
@@ -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_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 int16_t ff_adpcm_step_table[89];
extern const int16_t ff_adpcm_oki_step_table[49];