summaryrefslogtreecommitdiffstats
path: root/sbc/sbc.c
diff options
context:
space:
mode:
authorBrad Midgley <bmidgley@xmission.com>2008-02-29 03:56:22 +0000
committerBrad Midgley <bmidgley@xmission.com>2008-02-29 03:56:22 +0000
commit7a68b05beaed5944dcd88f23002c9f55a2f74ba6 (patch)
tree1160d40f382b5182057ed32b54b49ee07fd9922a /sbc/sbc.c
parent7ae45c5a353a3e6a32044263cb1a367f237e6505 (diff)
Cidorvan's 4-subband overflow fixes
Diffstat (limited to 'sbc/sbc.c')
-rw-r--r--sbc/sbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbc/sbc.c b/sbc/sbc.c
index 21a68063..5fc4752f 100644
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -375,7 +375,7 @@ static int sbc_unpack_frame(const uint8_t *data, struct sbc_frame *frame,
int ch, sb, blk, bit; /* channel, subband, block and bit standard
counters */
int bits[2][8]; /* bits distribution */
- int levels[2][8]; /* levels derived from that */
+ uint32_t levels[2][8]; /* levels derived from that */
if (len < 4)
return -1;