diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-04-07 21:19:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-04-07 21:19:36 +0000 |
commit | d9ddac2579863101a439bbee573ee4afa149dfaf (patch) | |
tree | cbb921d384aab4f590f5b24dd36577b49a49196b /libavcodec/adpcm.c | |
parent | 20f757076e7dd2091f6f0865266997d66dc33d57 (diff) | |
download | ffmpeg-d9ddac2579863101a439bbee573ee4afa149dfaf.tar.gz |
general purpose vars should be int
Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 3ba941e8fc..efe12b573e 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1348,7 +1348,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, /* Read in every sample for this channel. */ for (i = 0; i < samplecnt / 14; i++) { - uint8_t index = get_bits (&gb, 4) & 7; + int index = get_bits (&gb, 4) & 7; unsigned int exp = get_bits (&gb, 4); int factor1 = table[ch][index * 2]; int factor2 = table[ch][index * 2 + 1]; |