- 24 Mar, 2016 7 commits
-
-
Martin Storsjö authored
Apply the default value for timeout in code instead of via the avoption, to allow distinguishing the default value from the user not setting anything at all. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Since all URLContexts have the same AVOptions, such AVOptions will be applied on the outermost context only and removed from the dict, while they probably make sense on all contexts. This makes sure that rw_timeout gets propagated to the innermost URLContext (to make sure it gets passed to the tcp protocol, when opening a http connection for instance). Alternatively, such matching options would be kept in the dict and only removed after the ffurl_connect call. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Michael Niedermayer authored
This includes documentation and other modifications by Lukasz Marek and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Lukasz Marek authored
Also add const to pointers in static functions within opt.c where possible/necessary. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Using this requires setting the rw_timeout option to make it terminate, alternatively using the interrupt callback (if used via the API). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Andrey Utkin authored
If set non-zero, this limits duration of the retry_transfer_wrapper() loop, thus affecting ffurl_read*(), ffurl_write(). As soon as one single byte is successfully received/transmitted, the timer restarts. This has further changes by Michael Niedermayer and Martin Storsjö. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Currently the list of avoptions for URLContext is empty though, but such options will be added. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 23 Mar, 2016 14 commits
-
-
Anton Khirnov authored
-
Mark Thompson authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
wm4 authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
wm4 authored
The flushing case is a bit strange; not simplifying it so the change is less noisy. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
wm4 authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
wm4 authored
Until now, the decoding API was restricted to outputting 0 or 1 frames per input packet. It also enforces a somewhat rigid dataflow in general. This new API seeks to relax these restrictions by decoupling input and output. Instead of doing a single call on each decode step, which may consume the packet and may produce output, the new API requires the user to send input first, and then ask for output. For now, there are no codecs supporting this API. The API can work with codecs using the old API, and most code added here is to make them interoperate. The reverse is not possible, although for audio it might. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
This allows expressing the SRTP test code dependencies more clearly.
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 22 Mar, 2016 11 commits
-
-
Vittorio Giovara authored
-
Vittorio Giovara authored
This allows dropping an afterwards redundant assert.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
-
Diego Biurrun authored
-
Vittorio Giovara authored
-
Vittorio Giovara authored
These macros are treated like functions, the wrapping simplifies error checking and avoids deeply nested ifs in the following commit.
-
Vittorio Giovara authored
The intrax8 decoding process does not imply any kind of error resilience, and the only call present is more related to how mpegvideo works rather than anything else. Therefore have the parent decoders carry out er when actually needed.
-
Vittorio Giovara authored
-
Vittorio Giovara authored
Avoid using multiple variables for the same purpose.
-
Vittorio Giovara authored
* Change log level from error to debug * Print report after the first decoded frame, not at the end of decoding * Drop macro guard and use a context variable instead Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 20 Mar, 2016 4 commits
-
-
Anton Khirnov authored
-
Anton Khirnov authored
Deprecate the current bitstream filtering API.
-
Andreas Cadhalpun authored
If chan2 is not smaller than the number of channels, it can cause segmentation faults due to dereferencing a NULL pointer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 19 Mar, 2016 4 commits
-
-
Mark Thompson authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Mark Thompson authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Mark Thompson authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Mark Thompson authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-