1. 19 Sep, 2018 3 commits
  2. 18 Sep, 2018 1 commit
  3. 20 Aug, 2018 3 commits
  4. 12 Jun, 2018 3 commits
  5. 08 Jan, 2018 4 commits
  6. 29 Dec, 2017 1 commit
  7. 07 Dec, 2017 2 commits
  8. 14 Nov, 2017 2 commits
  9. 01 Nov, 2017 2 commits
    • Stephen's avatar
      Add macOS and clang builds to the travis config. · c286c605
      Stephen authored
      Improve coverage by building more variants in integration
      There's no equivalent of the apt addon for macOS builds, so
      we put dependencies in Brewfile and call `brew bundle` to
      install them. This works better than calling `brew install`
      directly since the later will error if a package is already
      installed, and even if the error is ignored it won't update
      to the latest version available, resulting in binaried built
      against e.g. vulnerable versions of openssl.
      To avoid conflicts with Apple's deprecated openssl package,
      homebrew doesn't install its openssl package in the default
      search path, so we need to manually append the its location
      to PKG_CONFIG_PATH. We cannot build against Apple's package
      because while it provides libraries and an openssl.pc file,
      no headers are available.
      Signed-off-by: Ralph Giles's avatarRalph Giles <giles@thaumas.net>
    • Stephen's avatar
      Remove unneeded travis lines. · 440e26f6
      Stephen authored
      Ubuntu 14.04 (trusty) is the current default, so we don't need to specify.
      Using the apt addon means we no longer need sudo access.
      Signed-off-by: Ralph Giles's avatarRalph Giles <giles@thaumas.net>
  10. 12 Sep, 2017 1 commit
  11. 02 Aug, 2017 8 commits
    • Ralph Giles's avatar
      mingw: Update to opus 1.2.1. · 2c239ebc
      Ralph Giles authored
      New release of the codec reference implementation.
    • Timothy B. Terriberry's avatar
      Minor win32 warning fix. · dc27cf17
      Timothy B. Terriberry authored
      op_fopen() and op_freopen() declare these arguments as non-NULL,
       so when building with mingw, the compiler reasonably complains
       when we check to see if they're NULL.
      We could remove the OP_ARG_NONNULL tags, but the behavior of
       _wopen/_wfreopen appears to be to crash on NULL for either
      On Linux, the behavior appears to be to handle a NULL path (fopen
       returns NULL with errno set to EFAULT, and freopen returns the
       passed FILE * with errno set to EFAULT), but crash on a NULL mode.
      Keeping the OP_ARG_NONNULL tags promises that passing NULL results
       in undefined behavior, which is at least consistent with the
       behavior being different on different platforms.
      It's also consistent with the ABI promises of previous releases,
       which compilers linking against libopusfile might have taken
       advantage of.
    • Ralph Giles's avatar
      Update soname for the opusfile 0.9 release. · d9bbf207
      Ralph Giles authored
      The return type of op_serialno changed from ogg_uint32
      to opus_uint32, but those types should be abi compatible.
    • Ralph Giles's avatar
      mingw: Update to opus 1.2. · 5f884d4f
      Ralph Giles authored
      New release of the codec reference implementation.
    • Ralph Giles's avatar
      mingw: Use an https url for downloading libogg. · d36aab71
      Ralph Giles authored
      downloads.xiph.org recently got https support.
    • Ralph Giles's avatar
      Fix a formatting nit. · d45bd3bf
      Ralph Giles authored
    • Thomas Daede's avatar
      Disable building latex documentation on ci. · e46f46a5
      Thomas Daede authored
      The documentation currently fails to build on Jenkins due to
      hyperref and doxygen not playing nicely with each other on
      Debian Stretch.
    • Timothy B. Terriberry's avatar
      Print a useful error when pkg-config is missing · 2521a7d8
      Timothy B. Terriberry authored
      Without this check, the PKG_CHECK_MODULES() macro remains
      unexpanded, which gives a syntax error when the shell reaches that
      point in the configure script, even for checks which are disabled
      (e.g., the OpenSSL check when using --disable-http).
      Instead, explicitly check for pkg-config and give the user useful
      advice on how to solve the problem if it's not found.
      Thanks to eXpl0it3r for reporting a problem for which installing
      pkg-config turned out to be the solution.
  12. 07 Jul, 2017 2 commits
    • Timothy B. Terriberry's avatar
      Improve source/stream terminology consistency · c59d42b6
      Timothy B. Terriberry authored
      We inherited the term "source" from vorbisfile's "datasource", but
       were using it interchangeably with stream.
      At least one user did not even realize the that the _source
       parameter passed to op_open_callbacks() was the same as the
       _stream parameter taken by those callbacks, which is reasonable
       because we never said so.
      Consistently use "stream" instead of "source" in both the
       documentation and the code.
    • Timothy B. Terriberry's avatar
      Minor documentation cross-reference. · 881a54da
      Timothy B. Terriberry authored
      Let people reading about the output_gain field know how to change
       the way it gets applied.
  13. 17 Jun, 2017 1 commit
  14. 07 Jun, 2017 3 commits
    • Ralph Giles's avatar
      Propogate openssl CFLAGS to the opusurl build. · 1fbe0cd1
      Ralph Giles authored
      We added DEPS_CFLAGS to the general build, but opusurl
      has an additional dependency on openssl. If the headers
      were outside the normal search path, configure could
      succeed but then the build would fail on http.c.
      We need to add URL_DEPS_CFLAGS to that specific target.
    • Ralph Giles's avatar
      mingw: Drop fedora from dist version. · 6a033a83
      Ralph Giles authored
      I think it's less confusing for most users to omit this. I added
      it so I could distinguish the docker-hosted cross package from
      others, but it's a distraction for people trying to use the
      resulting binaries.
    • Ralph Giles's avatar
      mingw: Query git for dist version. · 88a72642
      Ralph Giles authored
      We build from a git repo, so we can call `git describe` to
      generate a version number. When building from a tag, this
      should give us a clean release-versioned filename.
  15. 06 Jun, 2017 1 commit
  16. 26 May, 2017 1 commit
    • Ralph Giles's avatar
      Update mingw dependencies. · 5d38a3db
      Ralph Giles authored
      opus 1.1.5
      openssl 1.0.2l
      There's a newer branch (openssl 1.1.x) availabe now, but the
      build script needs changes to make it work. Stay on 1.0.2 for now.
  17. 24 May, 2017 2 commits
    • Timothy B. Terriberry's avatar
      Fix two compiler warnings. · 3b3b3e55
      Timothy B. Terriberry authored
      Thanks to Mark Harris for the report.
    • Timothy B. Terriberry's avatar
      Fix uninitialized free in tag parsing. · 529bd012
      Timothy B. Terriberry authored
      The tags have two possible representations of the binary suffix
      An implicit one: if comment_lengths and user_comments are NULL,
       then the length of the binary suffix data is 0 and the pointer to
       that data is also implicitly taken to be NULL.
      And an explicit one: if comment_lengths and user_comments are
       non-NULL, then comment_lengths[comments] and
       user_comments[comments] contains the length and pointer to the
       binary suffix data (where "comments" is the number of user
      The implicit one allows us to initialize a tags struct without
       doing any allocations, which ensures it always succeeds.
      op_tags_ensure_capacity() may upgrade the implicit representation
       to the explicit representation.
      However, when doing so, it stores the implicit (0, NULL) values
       in their new explicit locations at the end of the array assuming
       the requested capacity will become the new size.
      If the caller of op_tags_ensure_capacity() then fails before
       enlarging the array to that size, then comment_lengths and
       user_comments will be non-NULL, but the explicit locations for the
       binary suffix data for the _old_ size may not have been
      In particular, in opus_tags_parse_impl(), if there was exactly one
       comment, and any of the three checks at the start of the main loop
       failed, then the explicit locations for the binary suffix data
       would remain uninitialized, and the call to opus_tags_clear() in
       the caller would attempt to free them.
      For counts larger than 1, the extra line marked "Needed by
       opus_tags_clear()" will update the explicit location as the array
       grows, but with a count of 1 this line never gets a chance to run.
      This patch fixes the problem by making op_tags_ensure_capacity()
       promote the implicit representation to explicit at _both_ the old
       and new array sizes.
      We could have fixed up opus_tags_parse_impl() to do this instead,
       as suggested in the original bug reports, but doing it this way
       ensures that the tags are always in a valid state when
       op_tags_ensure_capacity() returns.
      Thanks to the Google AutoFuzz Team for the report.
      Fixes #2324
      Fixes #2325