Skip to content
Snippets Groups Projects
  1. Apr 11, 2025
    • Timothy B. Terriberry's avatar
      Typo fix. · 48d411c2
      Timothy B. Terriberry authored
      48d411c2
    • Timothy B. Terriberry's avatar
      Avoid rescanning invalid regions during file open. · 8d153c57
      Timothy B. Terriberry authored
      If there is a large region of invalid data in the middle of the
       file, avoid scanning it repeatedly during chain boundary
       enumeration.
      Because of the bisection, doing that would only be O(n*log(n)), not
       quadratic like op_get_last_page(), but still good to avoid.
      8d153c57
    • Ralph Giles's avatar
      github actions: add build description · ec63ede6
      Ralph Giles authored
      Add basic builds on Ubuntu and macOS hosts for Github's CI
      automation. Each builds with either GNU Autotools, CMake,
      or the plain Makefile, and then builds the documentation.
      
      This gives some feedback on pull requests submitted
      through github.
      
      Based on similar code from libopusenc, borrowing steps
      from the ci scripts directory and .travis-ci.yml.
      ec63ede6
    • Ralph Giles's avatar
      Brewfile: install the latest CMake · 0704e3bd
      Ralph Giles authored
      Earlier we had trouble with CMake 3.20, and reverting to 3.16
      worked around the problem. However this version is no longer
      available in homebrew, so the `brew bundle` step is failing
      in github ci. Try installing the latest version instead.
      
      Currently that's CMake 3.22.1.
      0704e3bd
    • Pierre Wendling's avatar
      CMake: Fix target import on case-sensitive FS. · c7853ce1
      Pierre Wendling authored and Ralph Giles's avatar Ralph Giles committed
      
      On case-sensitive filesystems, `OpusFileConfig.cmake` fails to include
      the exported targets due to mismatch capitalisation.
      
      Signed-off-by: default avatarRalph Giles <giles@thaumas.net>
      c7853ce1
  2. Sep 15, 2024
    • Martin Guy's avatar
      Fix compilation on AIX 7.3 · 3ecc22aa
      Martin Guy authored and Timothy B. Terriberry's avatar Timothy B. Terriberry committed
      On AIX, compilation fails saying
      
          src/http.c: In function 'op_http_conn_start_tls':
          src/http.c:1944:5: warning: ISO C forbids nested functions [-Wpedantic]
           1944 |     int                ip_len;
      	  |     ^~~
          In file included from /usr/include/netinet/tcp.h:115,
      		     from src/http.c:345:
          src/http.c:1944:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
           1944 |     int                ip_len;
          src/http.c:1944:24: error: expected expression before '.' token
          src/http.c:1949:5: error: 'ip_ff' undeclared (first use in this function); did you mean 'ip_fv'?
           1949 |     ip_len=0;
      
      because `/usr/include/netinet/ip-h` contains
      
          #define  ip_len  ip_ff.ip_flen
      
      The obvious solution os to rename the int variable to something else.
      3ecc22aa
  3. Nov 22, 2022
    • Sam James's avatar
      m4: fix -Wstrict-protoypes · 9d718345
      Sam James authored
      In preparation for C23. Fixes the following error if Clang 16 is
      cranked up to be stricter:
      ```
      -warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
      +error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
      ```
      
      Bug: https://bugs.gentoo.org/879707
      
      
      Signed-off-by: default avatarSam James <sam@gentoo.org>
      9d718345
  4. Sep 07, 2022
  5. Jan 15, 2022
  6. Oct 23, 2021
  7. Jul 29, 2021
  8. May 31, 2021
    • Ralph Giles's avatar
      Add release checksums for opusfile 0.1 and 0.2. · 56728646
      Ralph Giles authored
      Add checksums for the first two source releases for completeness.
      These are copied from and verified against downloads.xiph.org.
      56728646
    • Ralph Giles's avatar
      Add release checksums for opusfile 0.12. · c656ae14
      Ralph Giles authored
      We keep checksums of the release packages in the repo as a
      redundant and trustworthy reference. I found these in an
      old working repo; it looks like they weren't committed
      after the 0.12 release last year.
      
      Checked against the files on downloads.xiph.org.
      c656ae14
Loading