From 7a68b05beaed5944dcd88f23002c9f55a2f74ba6 Mon Sep 17 00:00:00 2001 From: Brad Midgley Date: Fri, 29 Feb 2008 03:56:22 +0000 Subject: Cidorvan's 4-subband overflow fixes --- sbc/sbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbc/sbc.c') 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; -- cgit