Skip to content
Snippets Groups Projects
  1. Aug 11, 2023
    • Jean-Marc Valin's avatar
      Fixes stack overflow for some custom modes · 101a71e0
      Jean-Marc Valin authored
      This only affects custom modes (builds with --enable-custom-modes) with frame
      sizes 2.5, 5, 10, and 20ms and sampling rates below 40 kHz. The problem does
      not affect normal use of Opus (using OpusEncoder/OpusDecoder) even when built
      with custom modes enabled, but only special applications that use
      OpusCustomEncoder/OpusCustomDecoder.
      101a71e0
  2. Jan 18, 2023
  3. Jul 22, 2022
  4. Jul 15, 2022
  5. Jul 13, 2022
  6. Jul 10, 2022
  7. Jul 09, 2022
  8. Jul 08, 2022
  9. Jul 06, 2022
  10. Jul 05, 2022
  11. Jun 30, 2022
  12. Jun 29, 2022
    • Timothy B. Terriberry's avatar
      Work around a valgrind false-positive in CPUID. · 6577534a
      Timothy B. Terriberry authored
      Valgrind versions prior to 3.17.0 assume that an uninitialized value
       in ECX causes the whole output of CPUID to be uninitialized, even
       though ECX is only "read" by CPUID for certain values of EAX.
      Work around that by guaranteeing that ECX is initialized.
      6577534a
    • Timothy B. Terriberry's avatar
      Check the return value of __get_cpuid(). · 03889ae7
      Timothy B. Terriberry authored
      This function can fail if CPUID is not supported or the maximum
       supported value of EAX is less than the requested one.
      Check the return value and explicitly disable all SIMD if it does
       fail.
      This was happening before implicitly because of the initialization
       of info[] to zero, but being explicit about it makes it less likely
       someone will break this behavior because they did not realize what
       was going on.
      03889ae7
  13. Jun 28, 2022
  14. Jun 26, 2022
    • Jean-Marc Valin's avatar
      Improve background noise estimation for CELT DTX · 63855aff
      Jean-Marc Valin authored
      We now update the background noise estimate even in frames classified
      as transient. It shouldn't be a problem because we're using min
      statistics. Also, it avoids problems when update frames get
      missclassified as transient.
      
      In addition, we now use the duration of losses rather than the
      number of lost packets to make decisions. That should make
      PLC/DTX behaviour more consistent across frame sizes.
      63855aff
  15. Apr 02, 2022
    • Jean-Marc Valin's avatar
      Fix lrint/lrintf detection · 6ba284f2
      Jean-Marc Valin authored
      Prevents using lrint/lrintf when compiling with -std=c90 even though the
      functions are in libm. This was causing tests to fail, likely due to
      incorrect prototypes.
      6ba284f2
  16. Jan 14, 2022
  17. Dec 18, 2021
  18. Dec 15, 2021
    • Felicia Lim's avatar
      Fix buffer overflow in xcorr_kernel_sse4_1 · ec64b3c5
      Felicia Lim authored
      Before, an overflow can occur in the last loop if `len` is not a
      multiple of 4 as OP_CVTEPI16_EPI32_M64 tries to load 64 bits, but there
      are insufficient bits allocated in `x`.
      ec64b3c5
  19. Jul 08, 2021
  20. Jun 10, 2021
  21. Jun 07, 2021
  22. Mar 03, 2021
    • Felicia Lim's avatar
      celt_lpc: avoid overflows when computing lpcs in fixed point · 7b05f44f
      Felicia Lim authored
      The LPCs are computed in 32-bit, so increase the allowed range from +/-8
      to +/-64 to avoid overflows caught during fuzzing. Before downshifting
      back down to the +/-8 range in the final 16-bit output, perform bandwidth
      extension to avoid any additional overflow issues.
      7b05f44f
  23. Jan 23, 2021
  24. Dec 08, 2020
  25. Oct 28, 2020
  26. Aug 22, 2020
  27. Jun 14, 2020
Loading