Mercurial > mplayer.hg
changeset 27116:a8a6a38cd86b
Use smaller types for tables
author | reimar |
---|---|
date | Sun, 29 Jun 2008 08:27:52 +0000 |
parents | cca2bdc30635 |
children | 95495e636ba8 |
files | libmpcodecs/ad_imaadpcm.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ad_imaadpcm.c Sun Jun 29 08:22:47 2008 +0000 +++ b/libmpcodecs/ad_imaadpcm.c Sun Jun 29 08:27:52 2008 +0000 @@ -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 @@ 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