[FFmpeg-cvslog] lavc/adpcm_data: fix const misplacement

Lukasz Marek git at videolan.org
Fri Feb 7 21:14:13 CET 2014


ffmpeg | branch: master | Lukasz Marek <lukasz.m.luki at gmail.com> | Fri Feb  7 16:42:17 2014 +0100| [7bb8b876545273b5204c45be4b2c5307cdda1b9e] | committer: Paul B Mahol

lavc/adpcm_data: fix const misplacement

Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7bb8b876545273b5204c45be4b2c5307cdda1b9e
---

 libavcodec/adpcm_data.c |    2 +-
 libavcodec/adpcm_data.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/adpcm_data.c b/libavcodec/adpcm_data.c
index 1d3e579..2109285 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 a14d520..6589bc5 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];



More information about the ffmpeg-cvslog mailing list