diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-29 08:27:52 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-29 08:27:52 +0000 |
commit | fe3548c668058b01710e716286340be2b4bb9ea3 (patch) | |
tree | 0f0e6ca9dac34126fda0b17fb615fbe21100f50e /libmpcodecs | |
parent | 64478f25d669c3bdc9d0351f4fb2f67226ff5ed1 (diff) | |
download | mpv-fe3548c668058b01710e716286340be2b4bb9ea3.tar.bz2 mpv-fe3548c668058b01710e716286340be2b4bb9ea3.tar.xz |
Use smaller types for tables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27148 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/ad_imaadpcm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ad_imaadpcm.c b/libmpcodecs/ad_imaadpcm.c index 27da073546..5411e72433 100644 --- a/libmpcodecs/ad_imaadpcm.c +++ b/libmpcodecs/ad_imaadpcm.c @@ -37,7 +37,7 @@ #define LE_32(x) (le2me_32(*(unsigned int *)(x))) // pertinent tables for IMA ADPCM -static const int adpcm_step[89] = +static const int16_t adpcm_step[89] = { 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 19, 21, 23, 25, 28, 31, 34, 37, 41, 45, @@ -50,7 +50,7 @@ static const int adpcm_step[89] = 15289, 16818, 18500, 20350, 22385, 24623, 27086, 29794, 32767 }; -static const int adpcm_index[16] = +static const int8_t adpcm_index[16] = { -1, -1, -1, -1, 2, 4, 6, 8, -1, -1, -1, -1, 2, 4, 6, 8 |