Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [2.7] bpo-28261: Prevent raising SystemError where PyArg_ParseTuple is used ↵ | Oren Milman | 2017-08-26 | 1 | -0/+4 |
| | | | | to parse non-args. (#3213) | ||||
* | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -0/+15 |
| | | | | | functions of the audioop module. Fixed SystemError when the state is not a tuple. Fixed possible memory leak. | ||||
* | Fixed test_audioop for issue #24326. | Serhiy Storchaka | 2015-05-31 | 1 | -3/+1 |
| | | | | 24-bit samples are not supported in 2.7. | ||||
* | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument. | Serhiy Storchaka | 2015-05-29 | 1 | -0/+17 |
| | | | | Original patch by David Moore. | ||||
* | Issue #16686: Fixed a lot of bugs in audioop module. | Serhiy Storchaka | 2013-02-09 | 1 | -123/+282 |
| | | | | | | | | | | | | * 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. | ||||
* | Fix failing test on big-endian machines (issue #13806). | Antoine Pitrou | 2012-02-04 | 1 | -8/+23 |
| | |||||
* | Issue #13806: The size check in audioop decompression functions was too ↵ | Antoine Pitrou | 2012-01-28 | 1 | -6/+19 |
| | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk. | ||||
* | Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module, | Victor Stinner | 2010-07-03 | 1 | -0/+33 |
| | | | | ensure that the input string length is a multiple of the frame size | ||||
* | Fix misspeeld method name (negative) | Neal Norwitz | 2008-07-20 | 1 | -1/+1 |
| | |||||
* | Issue 3306. Better control for a lenght in findmax() function. | Facundo Batista | 2008-07-07 | 1 | -0/+4 |
| | |||||
* | fix typo | Benjamin Peterson | 2008-06-28 | 1 | -1/+1 |
| | |||||
* | convert test_audioop to unittest. Thanks to Giampaolo Rodola. | Benjamin Peterson | 2008-06-28 | 1 | -264/+147 |
| | |||||
* | Add test_main() functions to various tests where it was simple to do. Done so | Brett Cannon | 2008-03-03 | 1 | -2/+6 |
| | | | | | that regrtest can execute the test_main() directly instead of relying on import side-effects. | ||||
* | SF [ 1231053 ] audioop - alaw encoding/decoding added, code updated | Anthony Baxter | 2006-03-20 | 1 | -3/+21 |
| | | | | | | | | | This patch adds a-LAW encoding to audioop and replaces the old u-LAW encoding/decoding code with the current code from sox. Possible issues: the code from sox uses int16_t. Code by Lars Immisch | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | The first batch of changes recommended by the fixdiv tool. These are | Guido van Rossum | 2001-09-04 | 1 | -2/+2 |
| | | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended. | ||||
* | a bold attempt to fix things broken by MAL's verify patch: import | Fredrik Lundh | 2001-01-17 | 1 | -1/+1 |
| | | | | 'verify' iff it's used by a test module... | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -1/+1 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Update the code to better reflect recommended style: | Fred Drake | 2000-12-12 | 1 | -46/+46 |
| | | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects. | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -97/+97 |
| | |||||
* | Fix ratecv test (Sjoerd). | Guido van Rossum | 1997-05-21 | 1 | -5/+6 |
| | |||||
* | Added test for ratecv (from Sjoerd, reformatted). | Guido van Rossum | 1997-02-14 | 1 | -0/+9 |
| | |||||
* | Updated to include the verbose flag from test_support | Roger E. Masse | 1997-01-03 | 1 | -152/+197 |
| | |||||
* | Added test for minmax. | Guido van Rossum | 1996-12-20 | 1 | -0/+7 |
| | |||||
* | Add test code for audioop and rgbimg (includes three binary files!) | Guido van Rossum | 1994-01-12 | 1 | -0/+202 |