diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 09:10:30 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 09:10:30 (GMT) |
commit | 62e709c52b0bd8ceba5fbcf2316665e20b8eb70e (patch) | |
tree | d7ba8b3fc2889ec49b26cf6a9a176a479323cec6 /Python/dynload_stub.c | |
parent | ed1e4382c48a3788e5ce71e8c28b4b82ba1bcda2 (diff) | |
download | cpython-62e709c52b0bd8ceba5fbcf2316665e20b8eb70e.zip cpython-62e709c52b0bd8ceba5fbcf2316665e20b8eb70e.tar.gz cpython-62e709c52b0bd8ceba5fbcf2316665e20b8eb70e.tar.bz2 |
Issue #16686: Fixed a lot of bugs in audioop module.
* avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX.
* ratecv() no more crashes on empty input fragment.
* Fixed an integer overflow in ratecv().
* Fixed an integer overflow in add() and bias() for 32-bit samples.
* reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples.
* max() and rms() no more returns negative result for 32-bit sample -0x80000000.
* minmax() now returns correct max value for 32-bit sample -0x80000000.
* avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000.
* add() now can return 32-bit sample -0x80000000.
Diffstat (limited to 'Python/dynload_stub.c')
0 files changed, 0 insertions, 0 deletions