Browse Source

general purpose vars should be int

Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
d9ddac2579
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/adpcm.c

+ 1
- 1
libavcodec/adpcm.c View File

@@ -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];


Loading…
Cancel
Save