- Dec 06, 2012
-
-
Jean-Marc Valin authored
Calling PLC/FEC with a different size was not updating it
-
- Dec 05, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
- Dec 04, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
PLC and FEC now return exactly the number of samples specified for the buffer rather than (usually) returning the size of the last packet. Doc and tests are updated accordingly.
-
- Dec 03, 2012
-
-
Ralph Giles authored
This avoids linker errors with VS2010 of the form failure during conversion to COFF: invalid file or corrupt [c:\users\giles\opus\source\opus_demo.vcxproj] The problem does not occur if the project files are updated to build under VS2012.
-
Jean-Marc Valin authored
-
- Nov 30, 2012
-
-
Jean-Marc Valin authored
This was reported by Juri Aedla and is limited to reading memory up to about 60 kB beyond the compressed buffer. This can only be triggered by a compressed packet more than about 16 MB long, so it's not a problem for RTP. In theory, it *could* crash an Ogg decoder if the memory just after the incoming packet is out-of-range.
-
- Nov 29, 2012
-
-
Ralph Giles authored
The README doesn't say anything about this particular define. Refer people to config.h and the other build files for examples.
-
- Nov 09, 2012
-
-
Ralph Giles authored
These files has unix line endings, while the other project files have dos line endings. I hoped this would fix the link error about corrupt or invalid files with these projects, but it doesn't. Running 'Update project files...' in the VS2012 IDE is a work around, but it just adds a <PlatformToolset> element to each <PropertyGroup> and a line ending at the end of the file.
-
Ralph Giles authored
Commits ae0e2ca8 and 6906210c split encode and decode support into separate files to help reduce the footprint of decode-only builds. This commit adds the new source files to the MSVC project files, fixing that build.
-
- Nov 08, 2012
-
-
Jean-Marc Valin authored
-
- Nov 05, 2012
-
-
Jean-Marc Valin authored
Delays stack allocations as much as possible, and makes some of these allocations conditional.
-
- Oct 30, 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 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>
-
Emily Bowman authored
Updates the project files to include the new encoder source files. Use OPUS_RESTRICT and include config.h to set the proper defines for build under MSVC.
-
Ralph Giles authored
The Microsoft compiler warns about precision reduction from default double literals to the floats we generally use outside the fixed-point build. Avoid these by qualifying the literals as floats. Thanks to derf for review.
-
- Oct 16, 2012
-
-
Jean-Marc Valin authored
-
- Oct 10, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
Adds a gain cross-fade to avoid discontinuities and moves it to a place where it won't affect SILK Conflicts: src/opus_encoder.c
-
Conflicts: src/opus_multistream.c src/opus_private.h
-
Jean-Marc Valin authored
-
- Oct 09, 2012
-
-
Jean-Marc Valin authored
-
Jean-Marc Valin authored
Also removes the -exp_analysis suffix from opus_get_version_string() and fixes a "ISO C90 forbids mixed declarations and code" warning.
-
Jean-Marc Valin authored
-
- Sep 21, 2012
-
-
Jean-Marc Valin authored
This fixes a problem where we could end up starving the redundancy frame, especially for CBR. The solution is to make sure that some bits are left available -- assuming we use the same rate for redundancy as for the rest of the frame.
-
- Sep 19, 2012
-
-
Jean-Marc Valin authored
Prefilling didn't use the right offset because of the extra_delay changes introduced in the analysis branch.
-
- Sep 14, 2012
-
-
Jean-Marc Valin authored
-
- Sep 12, 2012
-
-
This allows the compiler to perform more optimization on them as it knows how the functions are being called. Signed-off-by:
Diego Elio Pettenò <flameeyes@flameeyes.eu>
-
While this is not making a huge difference it still makes the code more consistent. Signed-off-by:
Diego Elio Pettenò <flameeyes@flameeyes.eu>
-
- Sep 08, 2012
-
-
This avoids allocating any buffers on the stack that depend on the total channel count. Such buffers could easily exceed the size of the NONTHREADSAFE_PSEUDOSTACK. It also checks the frame_size argument in both the encoder and decoder to avoid allocating large stack buffers for opus_encode() calls that would fail anyway or opus_decode() calls that would never use all that space anyway.
-
- Sep 06, 2012
-
-
Timothy B. Terriberry authored
This makes simple syntax highlighters (e.g., vim) stop complaining because they don't parse the #ifdef's.
-
- Aug 29, 2012
-
-
Gregory Maxwell authored
-
- Aug 21, 2012
-
-
Gregory Maxwell authored
-
- Aug 17, 2012
-
-
Ralph Giles authored
Microsoft Visual Studio 2010 warns about 'C4146: unary minus operator applied to unsigned type, result still unsigned' because of the '&-sizeof(void*)' in align(). This commit works around the warning by casting the size_t to int before negation. Patch by Hauke, who reported the issue on the opus mailing list. Reviewed by derf.
-
- Aug 06, 2012
-
-
Gregory Maxwell authored
-