- Nov 09, 2013
-
-
Jean-Marc Valin authored
-
- Oct 12, 2013
-
-
- Jun 30, 2013
-
-
Gregory Maxwell authored
-
Gregory Maxwell authored
Also makes the CTL bad argument handling more consistent to avoid mistakes like that in the future. Also updates the variable duration docs.
-
- Dec 06, 2012
-
-
Gregory Maxwell authored
-
- Dec 04, 2012
-
-
Jean-Marc Valin authored
-
- 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 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.
-
- Aug 21, 2012
-
-
Gregory Maxwell authored
-
- Aug 08, 2012
-
-
Gregory Maxwell authored
-
- 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.
-
- Apr 24, 2012
-
-
Jean-Marc Valin authored
-
- Apr 20, 2012
-
-
Jean-Marc Valin authored
Also added 3rd clause to "master" COPYING file
-
- Nov 26, 2011
-
-
- 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 28, 2011
-
-
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.
-
Ralph Giles authored
This test only works on glibc, but the important thing is support for the __malloc_hook api, so that's what we should depend on, especially since not all glibc versions have it.
-
Ralph Giles authored
These pragmas were adding in 4.6, and earlier versions warn about them being undefined.
-
Ralph Giles authored
The glibc 2.14 NEWS file says __malloc_hook will be removed in the next release, so future-proof our use by checking for this symbol at configure time and only compiling the malloc failure tests if it is present.
-
Ralph Giles authored
This just works around the deprecation in glibc 2.14. I do worry what will happen if they follow through and remove it in 2.15.
-
Gregory Maxwell authored
-
- Oct 27, 2011
-
-
Jean-Marc Valin authored
Let's put it back in if/when we have a clearer view of voice/music detection
-
Gregory Maxwell authored
-
Jean-Marc Valin authored
-
- Oct 26, 2011
-
-
Gregory Maxwell authored
Renames test_opus to opus_demo and adds the test_opus_api, test_opus_encode, test_opus_decode test programs.
-