projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f7570
)
general purpose vars should be int
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 7 Apr 2007 21:19:36 +0000
(21:19 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 7 Apr 2007 21:19:36 +0000
(21:19 +0000)
Originally committed as revision 8652 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/adpcm.c
patch
|
blob
|
history
diff --git
a/libavcodec/adpcm.c
b/libavcodec/adpcm.c
index
3ba941e
..
efe12b5
100644
(file)
--- 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;
+
in
t 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];