diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-06-01 21:19:00 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-06-01 21:19:00 +0000 |
commit | c26ae41db21d6a7d5092b3cb51ce2e4866b076ae (patch) | |
tree | 8bc945d47b0053aa8255f4a3226c48cc1c194057 /libavcodec/adpcm.c | |
parent | 435b0720a89b5aa1dd9e92f13336d5a35964a6e6 (diff) | |
download | ffmpeg-streaming-c26ae41db21d6a7d5092b3cb51ce2e4866b076ae.zip ffmpeg-streaming-c26ae41db21d6a7d5092b3cb51ce2e4866b076ae.tar.gz |
adding a few const
Originally committed as revision 4337 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 043c4d4..0c44121 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -99,18 +99,18 @@ static const int xa_adpcm_table[5][2] = { { 122, -60 } }; -static int ea_adpcm_table[] = { +static const int ea_adpcm_table[] = { 0, 240, 460, 392, 0, 0, -208, -220, 0, 1, 3, 4, 7, 8, 10, 11, 0, -1, -3, -4 }; -static int ct_adpcm_table[8] = { +static const int ct_adpcm_table[8] = { 0x00E6, 0x00E6, 0x00E6, 0x00E6, 0x0133, 0x0199, 0x0200, 0x0266 }; // padded to zero where table size is less then 16 -static int swf_index_tables[4][16] = { +static const int swf_index_tables[4][16] = { /*2*/ { -1, 2 }, /*3*/ { -1, -1, 2, 4 }, /*4*/ { -1, -1, -1, -1, 2, 4, 6, 8 }, @@ -911,7 +911,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, case CODEC_ID_ADPCM_SWF: { GetBitContext gb; - int *table; + const int *table; int k0, signmask; int size = buf_size*8; |