- Oct 27, 2012
-
-
Gregory Maxwell authored
As reported by Mark Warner opus_multistream_*_create were depending on the behavior of malloc(0) in order to correctly report some kinds of argument errors. Bad arguments could be incorrectly reported as allocation failures. This changes multistream to explicitly check the arguments like the single stream _create functions. The unit tests were enough to catch this on systems where malloc(0) returns NULL but didn't catch it on other systems because the later _init call would catch the bad arguments and trigger the correct error if and only if the malloc didn't return a null pointer. In multistream_encoder_init failures of the internal non-multistream init calls were not being caught and propagated. Decode didn't have this problem. This propagates the errors and adds additional tests (the multistream encoder api is sill under tested) that would have detected this error. Plus add some stronger tests for things like error==NULL for the _create functions that take a pointer for error output.
-
- Oct 23, 2012
-
-
Emily Bowman authored
Specify the correct debug runtime libraries for the test and demo executables to prevent mismatch warnings with the default runtime. Signed-off-by:
Ralph Giles <giles@mozilla.com>
-
Ralph Giles authored
Previously the test programmes happened to link because _getpid returns an int, which is the default prototype. Instead, include the appropriate header to supply a real declaration, fixing the associated warning. I moved the getpid->_getpid define to the site of the header inclusion to make clear what's going on, rather than have it floating in win32/config.h.
-
- Oct 11, 2012
-
-
- Sep 27, 2012
-
-
I stumbled upon the typo in README.draft, so took the opportunity to grep for common misspellings using List_of_common_misspellings.txt for hunspell.
-
- Sep 26, 2012
-
-
Gregory Maxwell authored
-
- Aug 21, 2012
-
-
Gregory Maxwell authored
-
- Aug 09, 2012
-
-
Gregory Maxwell authored
Match up the exit behavior when the no-fuzz enviroment variable is set.
-
- Aug 08, 2012
-
-
Gregory Maxwell authored
-
- Jul 16, 2012
-
-
The (non-default) temporary & output dirs configured in the projects could cause issues when doing compilation on a multiprocessor machine. Cleaned this up a little to use the defaults, which makes that work again and doesn't make the output structure any worse. Also removed debug output for release binaries & a tiny whitespace fix.
-
- Jul 14, 2012
-
-
Gregory Maxwell authored
-
- Jul 13, 2012
-
-
gcp authored
-
- Jul 12, 2012
-
-
Add project files for Opus tests, fixup test source for Win32.
-
- Jul 11, 2012
-
-
Gregory Maxwell authored
The last commit changed some of the multistream tests to use a dual-mono setup instead of a single-stereo setup. Some of the accompanying explicit valgrind checks were still setup to look for stereo streams.
-
Gregory Maxwell authored
This CTL was requested by Nicolas George for FFmpeg.
-
- Jun 01, 2012
-
-
In places where an ignored return or a null-arg is a sure indication of a bug add the GCC warning attributes. The null arg annotation is not enable for Opus itself because it will cause the compiler to optimize out some null checks. I don't trust our callers quite that much.
-
-
-
- May 18, 2012
-
-
Jean-Marc Valin authored
-
- May 16, 2012
-
-
Jean-Marc Valin authored
This reverts commit 9f407afa.
-
- May 11, 2012
-
-
Jean-Marc Valin authored
-
- Apr 30, 2012
-
-
Gregory Maxwell authored
-
- Apr 24, 2012
-
-
Jean-Marc Valin authored
-
- Apr 20, 2012
-
-
Jean-Marc Valin authored
Also added 3rd clause to "master" COPYING file
-
Jean-Marc Valin authored
See http://www.ietf.org/mail-archive/web/codec/current/msg02833.html Still more changes to come
-
- Apr 02, 2012
-
-
Also fixes a minor typo.
-
- Mar 06, 2012
-
-
Gregory Maxwell authored
CLANG IOC no longer likes the 'deterministic random' bitstreams, so move the test_opus_decode bailout up.
-
- Feb 17, 2012
-
-
Jean-Marc Valin authored
- Draft updates - Updated code to produce and check test vectors - Making sure that the test vectors pass at all rates as well as for mono and stereo
-
- Jan 24, 2012
-
-
No changes to the codec itself.
-
- Nov 26, 2011
-
-
- Oct 31, 2011
-
-
Jean-Marc Valin authored
-
- Oct 30, 2011
-
-
Gregory Maxwell authored
Multistream encode was failing to add the length of the extra length for self-delimited packets causing corrupted output. Multistream decode was not properly handling lost frames (and potentially reading out of bounds as a result). GET_FINAL_RANGE has been implemented as the xor of the final range of all the streams in the packet. test_opus_encode now does the mono narrowband tests using dual-mono multistream.
-
Gregory Maxwell authored
-
- Oct 29, 2011
-
-
Gregory Maxwell authored
-
-
- Oct 28, 2011
-
-
Jean-Marc Valin authored
-
Ralph Giles authored
Files are already compiled with -I./include, the relative path in the #include line isn't necessary.
-
Ralph Giles authored
Our arch.h makes sure it's always defined. Thanks to derf for the suggestion.
-
Ralph Giles authored
We use the __GNUC_PREREQ macro from celt/arch.h to check the required minimum gcc version. The previous check would have failed for gcc 5.n with n from 0 to 5. Thanks to pcgod for pointing out the problem and derf for pointing out we had a macro for this.
-
Ralph Giles authored
This array is only used by the malloc failure test, and defining it unconditionally creates an unused variable warning on platforms where MALLOC_FAIL isn't set.
-