Commit 658a87d2 authored by michael's avatar michael

general purpose vars should be int


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8652 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 34988466
...@@ -1348,7 +1348,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx, ...@@ -1348,7 +1348,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
/* Read in every sample for this channel. */ /* Read in every sample for this channel. */
for (i = 0; i < samplecnt / 14; i++) { 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); unsigned int exp = get_bits (&gb, 4);
int factor1 = table[ch][index * 2]; int factor1 = table[ch][index * 2];
int factor2 = table[ch][index * 2 + 1]; int factor2 = table[ch][index * 2 + 1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment