Skip to content
Snippets Groups Projects
  1. 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
  2. Oct 23, 2012
    • Emily Bowman's avatar
      Fix MSVC linker warnings · f77e86a2
      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: default avatarRalph Giles <giles@mozilla.com>
      f77e86a2
    • Ralph Giles's avatar
      Include process.h for _getpid on windows. · 662ae9bb
      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.
      662ae9bb
  3. Oct 11, 2012
  4. Sep 27, 2012
  5. Sep 26, 2012
  6. Aug 21, 2012
  7. Aug 09, 2012
  8. Aug 08, 2012
  9. Jul 16, 2012
    • gcp's avatar
      Make MSVC build work in parallel. · eeb7bd3d
      gcp authored and Gregory Maxwell's avatar Gregory Maxwell committed
      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.
      eeb7bd3d
  10. Jul 14, 2012
  11. Jul 13, 2012
  12. Jul 12, 2012
  13. Jul 11, 2012
  14. Jun 01, 2012
  15. May 18, 2012
  16. May 16, 2012
  17. May 11, 2012
  18. Apr 30, 2012
  19. Apr 24, 2012
  20. Apr 20, 2012
  21. Apr 02, 2012
  22. Mar 06, 2012
  23. Feb 17, 2012
  24. Jan 24, 2012
  25. Nov 26, 2011
  26. Oct 31, 2011
  27. Oct 30, 2011
  28. Oct 29, 2011
  29. Oct 28, 2011
Loading