diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 09:10:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-02-09 09:10:53 (GMT) |
commit | 01ad622a2cd73561b66d0f6287cb5b66de0bb0b3 (patch) | |
tree | 5dd0eb7207ca40cfdc49121ad9289cb0721f079f /Misc | |
parent | a48b61f8f25f7c24528d5ef156be407f781f76a6 (diff) | |
download | cpython-01ad622a2cd73561b66d0f6287cb5b66de0bb0b3.zip cpython-01ad622a2cd73561b66d0f6287cb5b66de0bb0b3.tar.gz cpython-01ad622a2cd73561b66d0f6287cb5b66de0bb0b3.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 'Misc')
-rw-r--r-- | Misc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -215,6 +215,12 @@ Core and Builtins Library ------- +- Issue #16686: Fixed a lot of bugs in audioop module. Fixed crashes in + avgpp(), maxpp() and ratecv(). Fixed an integer overflow in add(), bias(), + and ratecv(). reverse(), lin2lin() and ratecv() no more lose precision for + 32-bit samples. max() and rms() no more returns a negative result and + various other functions now work correctly with 32-bit sample -0x80000000. + - Issue #17073: Fix some integer overflows in sqlite3 module. - Issue #17114: IDLE now uses non-strict config parser. |