- 01 Sep, 2017 1 commit
-
-
Anton Khirnov authored
(cherry picked from commit 6f554521) Signed-off-by: James Almer <jamrial@gmail.com>
-
- 11 Feb, 2017 1 commit
-
-
Anton Khirnov authored
-
- 09 Mar, 2016 1 commit
-
-
Carl Eugen Hoyos authored
-
- 23 Feb, 2016 1 commit
-
-
Anton Khirnov authored
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
-
- 21 Feb, 2016 2 commits
-
-
Michael Niedermayer authored
there are no timestamps being set, thus do not attempt to collect any Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Alex Agranovsky authored
Signed-off-by: Alex Agranovsky <alex@sighthound.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 14 Feb, 2016 2 commits
-
-
Alex Agranovsky authored
Signed-off-by: Alex Agranovsky <alex@sighthound.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Alex Agranovsky authored
Fixes 5023 Signed-off-by: Alex Agranovsky <alex@sighthound.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 12 Jan, 2016 1 commit
-
-
Carl Eugen Hoyos authored
-
- 09 Dec, 2015 1 commit
-
-
Alex Agranovsky authored
Fixes Coverity CID 1341576 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 04 Dec, 2015 2 commits
-
-
Clément Bœsch authored
-
Michael Niedermayer authored
avformat/mpjpegdec: Fix "libavformat/mpjpegdec.c:269:9: warning: passing argument 3 of av_stristart from incompatible pointer type" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 03 Dec, 2015 1 commit
-
-
James Almer authored
-
- 02 Dec, 2015 2 commits
-
-
Alex Agranovsky authored
This code is disabled by default so not to regress endpoints sending invalid MIME, but can be enabled via AVOption 'strict_mime_boundary' Signed-off-by: Alex Agranovsky <alex@sighthound.com>
-
Alex Agranovsky authored
Fixes ticket 5023 Signed-off-by: Alex Agranovsky <alex@sighthound.com>
-
- 23 Oct, 2015 1 commit
-
-
Luca Barbato authored
Some server in the wild do not put the boundary at a newline as rfc1347 7.2.1 states. Cope with that by reading a line and if it is not empty reading a second one. Reported-By: bitingsock
-
- 22 Oct, 2015 1 commit
-
-
Carl Eugen Hoyos authored
-
- 21 Sep, 2015 1 commit
-
-
Alex Agranovsky authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 16 Sep, 2015 1 commit
-
-
Ganesh Ajjanagadde authored
Silences a -Wunused-variable and -Wunused-function observed under GCC 5.2. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
- 14 Sep, 2015 3 commits
-
-
Clément Bœsch authored
-
Alex Agranovsky authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Alex Agranovsky authored
mpjpeg: probe should require same constraints as packet reader - both proper content-type and content-size must be present return AVPROBE_SCORE_MAX, rather than random positive number on success Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 13 Sep, 2015 1 commit
-
-
Alex Agranovsky authored
avformat/mpjpegdec: Allow mpjpeg headers parsing to succeed upon EOF, if required headers are present Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 28 Jun, 2015 1 commit
-
-
Luca Barbato authored
Bug-Id: CID 1308152
-
- 09 Jun, 2015 1 commit
-
-
James Almer authored
The first check is done without the AVIOContext, so alloc it only if said check succeeds Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
- 08 Jun, 2015 3 commits
-
-
James Almer authored
The first check is done without the AVIOContext, so alloc it only if said check succeeds Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com>
-
Janne Grunau authored
-
- 07 Jun, 2015 1 commit
-
-
Luca Barbato authored
Support only streams with Content-Length. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-