From: Michael Niedermayer Date: Sat, 7 Apr 2007 21:19:36 +0000 (+0000) Subject: general purpose vars should be int X-Git-Tag: v0.5~9391 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9ddac2579863101a439bbee573ee4afa149dfaf;p=platform%2Fupstream%2Flibav.git general purpose vars should be int Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 3ba941e..efe12b5 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];