Skip to content
Snippets Groups Projects
  1. Feb 25, 2024
  2. Feb 07, 2024
  3. Jul 22, 2022
  4. Feb 26, 2019
  5. Oct 31, 2018
  6. Feb 27, 2017
    • Mark Harris's avatar
      Fix compiler warnings · d6d70371
      Mark Harris authored
      - celt/modes.c:430:14: warning: cast from 'const unsigned char *' to
        'opus_int16 *' increases required alignment from 1 to 2 [-Wcast-align]
      - 'C[0][1]' may be used uninitialized [-Wmaybe-uninitialized]
      - Unused variable/parameter
      - Value stored is never read
      - MSVC warnings about "possible loss of data" due to type conversions
      - MSVC warning C4146: unary minus operator applied to unsigned type
      - silk/NLSF_del_dec_quant.c:137:20: warning: array subscript is above
        array bounds [-Warray-bounds] (gcc -O3 false positive)
      - src/mlp_train.h:39:20: warning: function declaration isn't a prototype
        [-Wstrict-prototypes]
      - Remove SMALL_FOOTPRINT code from SSE 4.1 FIR implementation, matching
        the C implementation.
      
      The clang -Wcast-align warnings with SSE intrinsics are a known
      clang issue: https://llvm.org/bugs/show_bug.cgi?id=20670
      Verified
      d6d70371
  7. Nov 06, 2016
  8. Oct 29, 2016
  9. Oct 28, 2016
  10. Oct 05, 2016
  11. Sep 16, 2016
  12. Sep 15, 2016
  13. Jul 22, 2016
  14. Nov 22, 2013
  15. Nov 19, 2013
  16. Nov 18, 2013
  17. Nov 17, 2013
  18. Oct 28, 2013
    • Gregory Maxwell's avatar
      Replace "inline" with OPUS_INLINE. · 7830cf1b
      Gregory Maxwell authored
      Newer versions of MSVC are unhappy with the strategy of the build
       environment redefining "inline" (even though they don't support the
       actual keyword). Instead we define OPUS_INLINE to the right thing
       in opus_defines.h.
      
      This is the same approach we use for restrict.
      7830cf1b
  19. Apr 06, 2013
  20. Dec 04, 2012
  21. 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
  22. Oct 23, 2012
    • 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
  23. Sep 26, 2012
  24. Aug 21, 2012
  25. Jul 14, 2012
  26. Jul 12, 2012
  27. Jun 01, 2012
  28. May 16, 2012
  29. Apr 24, 2012
  30. Apr 20, 2012
  31. Jan 24, 2012
  32. Nov 26, 2011
  33. Oct 30, 2011
    • Gregory Maxwell's avatar
      Fix multistream packet corruption, implement GET_FINAL_RANGE for multistream, and add many tests. · afd05aca
      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.
      afd05aca
  34. Oct 29, 2011
  35. Oct 28, 2011
  36. Oct 27, 2011
Loading