[Ffmpeg-cvslog] r8652 - trunk/libavcodec/adpcm.c

michael subversion
Sat Apr 7 23:19:36 CEST 2007


Author: michael
Date: Sat Apr  7 23:19:36 2007
New Revision: 8652

Modified:
   trunk/libavcodec/adpcm.c

Log:
general purpose vars should be int


Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c	(original)
+++ trunk/libavcodec/adpcm.c	Sat Apr  7 23:19:36 2007
@@ -1348,7 +1348,7 @@ static int adpcm_decode_frame(AVCodecCon
 
             /* 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];




More information about the ffmpeg-cvslog mailing list