commit | 68e7cbde5c9d02a76fa5b712a0f0adc0ca04b8ad | [log] [tgz] |
---|---|---|
author | Aurélien Zanelli <aurelien.zanelli@parrot.com> | Thu Oct 23 16:32:21 2014 +0200 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri Oct 24 17:56:46 2014 +0300 |
tree | fddd48dd5e3be8eae2e01aebb3678664ad0b83c7 | |
parent | 7110480576985842a7f7f3dbb4d432f0098d51ad [diff] |
sbc: use an uint16 to store frame length in internal frame structure Otherwise it could overflow in some cases. For instance in DUAL_CHANNEL mode, with subbands set to SBC_SB_8, blocks set to SBC_BLK_16 and bitpool set to 64 results in a frame length of 268.