Skip to content
Snippets Groups Projects
  1. Nov 08, 2012
  2. Oct 27, 2012
    • Gregory Maxwell's avatar
      Fix several issues with multistream argument validation. · de95da9b
      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.
      de95da9b
  3. Oct 10, 2012
  4. Sep 08, 2012
    • Timothy B. Terriberry's avatar
      Remove large multistream stack buffers. · a40689e6
      Timothy B. Terriberry authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      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.
      a40689e6
  5. Sep 06, 2012
  6. Aug 21, 2012
  7. Aug 06, 2012
  8. Jul 17, 2012
  9. Jul 14, 2012
  10. Jul 11, 2012
  11. May 16, 2012
  12. Apr 24, 2012
  13. Apr 20, 2012
  14. Mar 06, 2012
  15. Mar 05, 2012
  16. Dec 02, 2011
  17. Oct 31, 2011
  18. Oct 30, 2011
  19. Oct 28, 2011
  20. Oct 27, 2011
  21. Sep 14, 2011
  22. Sep 12, 2011
  23. Sep 11, 2011
  24. Sep 09, 2011
  25. Sep 07, 2011
  26. Sep 06, 2011
  27. Aug 30, 2011
  28. Aug 29, 2011
  29. Aug 28, 2011
  30. Aug 27, 2011
Loading