- Jan 09, 2014
-
-
Ralph Giles authored
We've added tag copy/compare, server_info, decode_cb, set_dither. Constification is backward-compatible.
- Jan 08, 2014
-
-
Ralph Giles authored
Automake 1.14.1 warns that this will become the default in the future and advises enabling this, I assume to catch conflicts. We already use this option in the opus library.
-
Timothy B. Terriberry authored
These should use the same macros as the rest of the code.
-
Timothy B. Terriberry authored
This was meant to affect file opening only, not stream info printing.
-
- Dec 05, 2013
-
-
Ron authored
This reverts commit 8638d78c. Since it doesn't actually fix the original problem with shallow clones, it returns just a hash, not something we (currently) can extract as a version string in the form things are expecting. Which means the .pc version checks for things using the library at least will still fail.
-
- Nov 20, 2013
-
-
Timothy B. Terriberry authored
RFC 6555 "Happy Eyeballs" has a few recommendations for implementing dual requests to hosts with both IPv4 and IPv6 DNS entries that differ slightly from how we used to do it. This commit updates things to follow those recommendations.
-
Timothy B. Terriberry authored
Otherwise redirects we'll stuff two requests into the same buffer if there's a redirect to another https URL via a proxy.
-
Timothy B. Terriberry authored
This separates the state for whether pipelining might be supported (HTTP 1.1 responses with a Server header) and for whether it's been explicitly disabled (Server headers from known-bad servers). This does a better job with repeated (and possibly contradictory) headers.
-
Timothy B. Terriberry authored
-
- Oct 01, 2013
-
-
Ralph Giles authored
This provides a fallback commit id if no tags are available, for example when doing a shallow clone.
-
- Sep 03, 2013
-
-
Timothy B. Terriberry authored
For many Latin1 characters this still worked correctly by pure luck. Unfortunately, that included my test case.
-
Timothy B. Terriberry authored
It was only guaranteed to work in the seekable case. Thanks to Radio Stadtfilter 96.3Mhz for sending a stream which triggered this failure.
-
Timothy B. Terriberry authored
All the actual filters are named op_foo_filter(), so op_read_native_filter() looked like another one. Changing the word order should remove the ambiguity.
-
Timothy B. Terriberry authored
Don't know if this actually leads to any better code generation, but it may make the code a little clearer.
-
Timothy B. Terriberry authored
This makes it clear they don't modify the state, which is a useful indicator of what is safe to call from the application decode callback.
-
Timothy B. Terriberry authored
Otherwise we would have failed to open the stream.
-
Timothy B. Terriberry authored
This is a little easier to read, and allows us to save some subtractions and a comparison.
-
Timothy B. Terriberry authored
The increasingly-inaccurately named op_shaped_dither16() can serve this role instead, without much additional complexity (perhaps less, once you consider the required shuffling around of the function parameters).
-
Timothy B. Terriberry authored
This is to correspond to the feature in opus-tools's opusdec. opusdec itself probably won't be able to use it, because it still wants to do dithering after resampling, but the motivation for the feature is the same.
-
Timothy B. Terriberry authored
Previously I'd said this would require a large stack buffer, which was true if you simply wanted to re-use the existing op_short2float_filter() and floating-point op_stereo_filter(). But the latter is not normally compiled for fixed-point anyway, so we can instead write new code that doesn't need the stack buffer without harming anything.
-
Timothy B. Terriberry authored
These were unlikely when I originally expected applications to normally provide a decode buffer in the right format of sufficient size. However, the decode filter API works by asking to decode into a 0-byte buffer, which will trigger both of these tests on every packet. Since this is how three of the four decoding APIs are implemented, this is not really that unlikely anymore.
-
Timothy B. Terriberry authored
-
Timothy B. Terriberry authored
This makes op_fetch_and_process_page() always try to fetch another page, like it used to (and like its name implies). There was only one place where we needed the early return for unprocessed packets, and getting rid of that actually simplifies the logic there (replacing a conditional continue with an unconditional one in a slightly different location).
-
Timothy B. Terriberry authored
This is needed to allow advanced usage, like that of opusdec in opus-tools, which can simulate packet loss or save the range coder state for decoder verification. It could also be used in a pinch to use libopusfile for access to the raw Ogg packets, though this is somewhat of a hack.
-
- Aug 26, 2013
-
-
Timothy B. Terriberry authored
-
- Aug 25, 2013
-
-
Timothy B. Terriberry authored
Also refactor the other tag functions to centralize the memory allocation logic, plus a few other minor cleanups.
-
- Aug 24, 2013
-
-
Timothy B. Terriberry authored
It seems somewhat silly to have to write your own strcasecmp to satisfy the usage pattern found in opusfile_example: scanning the whole tags list and handling certain tags specially (as opposed to searching for specific tags, as opus_tags_query() does). Given that we were already using an equivalent function internally to implement opus_tags_query, just expose it directly.
-
Timothy B. Terriberry authored
OP_INT32_MIN and OP_INT32_MAX were added in commit 97917914. This fixes at least one bug, since one of the (extremely unlikely) overflow checks had an extra F in it.
-
Timothy B. Terriberry authored
Mostly minor stuff.
-
- Aug 23, 2013
-
-
Timothy B. Terriberry authored
This allows the application to report details about the server for HTTP[S] streams. For all HTTP[S], this includes the server software, content-type, and whether or not it's using HTTPS. For live streams, it also includes the station name, description, genre, homepage, nominal bitrate, and whether or not it's publicly listed.
-
Timothy B. Terriberry authored
This was treating every unknown header as a Server header. Good thing this was last! The only damage was that we might have enabled pipelining even on known-bad servers.
-
Timothy B. Terriberry authored
I guess no one was using these. Clearly we need to test this more often, but this is a pain without a reliable public proxy, or a local proxy server setup.
-
- Aug 21, 2013
-
-
Timothy B. Terriberry authored
These were only non-static because of oversight.
-
- Aug 20, 2013
-
-
Ralph Giles authored
Finally managed to cross-compile a shared version of openssl so I can use the autotools opusfile build.
-
Ralph Giles authored
-
Ralph Giles authored
We've added opus_picture_tag.
-
Ralph Giles authored
-
Ralph Giles authored
-
Ralph Giles authored
This lets us pick up runtime library path changes when the project files are updated to newer versions on Visual Studio. This fixes a link error with VS2012, but I still get one from VS2010.
-