- 12 Oct, 2011 11 commits
-
-
Martin Storsjö authored
DSS enables this automatically if streaming VOD over TCP. If enabled, the server feeds packets faster than realtime, screwing up RTCP NTP based timestamps. Also, DSS doesn't indicate that this was indicated, if it was enabled automatically (although if it was requested to be enabled, a header saying that it was enabled is added, but this isn't added if it is enabled automatically), making it even harder to detect and work around properly without explicitly asking for it to be disabled(/enabled, if we were able to support it). Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
Unsupported bit depth is certainly an error the user will want to know about. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
John Brooks authored
This allows skipping past unsupported RTCP packet types, as RFC 3550 section 6.1 mandates. Currently this only has any practical effect if a sender puts an unrecognized type before RTCP_BYE in a compounded packet, or (incorrectly) does not put RTCP_SR first. Signed-off-by: Martin Storsjö <martin@martin.st>
-
John Brooks authored
We actually read 20 bytes of these packets. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Mans Rullgard authored
This code relies on the result wrapping as for unsigned values, and the sign is not used. Thus an unsigned type is proper here. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Martin Storsjö authored
This avoids writing these entries doubly if transcoding from flv to flv, since the muxer blindly writes any and all metadata keys set, in addition to the fixed fields that the muxer always writes. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Anton Khirnov authored
-
Anton Khirnov authored
-
- 11 Oct, 2011 23 commits
-
-
John Stebbins authored
The values were reversed. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Mans Rullgard authored
The bit_rate_value_minus1 and cpb_size_value_minus1 elements allow a wider range than get_ue_golomb() supports. This adds a get_ue_golomb_long() function supporting up to 31 leading zeros, which is the maximum for these syntax elements, and uses it in decode_hrd_parameters(). Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Ronald S. Bultje authored
60% speedup (overall decoding time) at 2 threads, and another 60% speedup at 4 threads.
-
Ronald S. Bultje authored
~3.0-3.5x as fast as original C version, 1.6x as fast overall.
-
Ronald S. Bultje authored
The intermediate buffer is always aligned.
-
Ronald S. Bultje authored
-
Mans Rullgard authored
The level_code expression includes a shift which is invalid in those cases where the value is not used. Moving the calculation to the branch where the result is used avoids these. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
These additions might overflow the signed range for large input values. Converting to unsigned before the addition rather than after avoids such undefined behaviour. The result under normal two's complement wraparound remains unchanged. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Luca Barbato authored
Return -1 instead of ENOMEM if entries is 0. Fixes a av_malloc(0) crash in macosx.
-
Luca Barbato authored
-
Anton Khirnov authored
Bug found by Laurent Aimar fenrir at videolan org
-
Raivo Hool authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Raivo Hool authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Makes the code easier to understand.
-
Mans Rullgard authored
The PPS may contain a few trailing elements whose presence is only signalled by data remaining after the the mandatory part has been parsed. The current code fails to take into account the rbsp_trailing_bits() when deciding whether to parse these optional elements. Assuming no unnecessary padding bytes are passed to this function, the optional elements are present if either more than 8 extra bits remain or the remaining bits do not form a valid rbsp_trailing_bits() after the mandatory PPS elements have been parsed. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Zero-length get_bits() is undefined, must check before calling. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
The way this value is used, it should be an unsigned type. While the numerical value has no meaning, unsigned wraparound is relied upon. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 10 Oct, 2011 6 commits
-
-
Laurent Aimar authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Laurent Aimar authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Laurent Aimar authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Laurent Aimar authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Laurent Aimar authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
Laurent Aimar authored
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-