changeset 4805:a591ce5aaa04 libavcodec

general purpose vars should be int
author michael
date Sat, 07 Apr 2007 21:19:36 +0000
parents 39975b6c49bb
children 52cb2800e26c
files adpcm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/adpcm.c	Sat Apr 07 21:15:52 2007 +0000
+++ b/adpcm.c	Sat Apr 07 21:19:36 2007 +0000
@@ -1348,7 +1348,7 @@
 
             /* 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];