- 11 2月, 2020 1 次提交
-
-
由 Andreas Rheinhardt 提交于
Since bae8844e the packet will always be unreferenced when a demuxer returns an error, so that a lot of calls to av_packet_unref() in lots of demuxers are now redundant and can be removed. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NMarton Balint <cus@passwd.hu>
-
- 12 10月, 2019 3 次提交
-
-
由 Moritz Barsnick 提交于
Not only the first, but each latest chunk must be cached to allow seekback after finding the mime boundary. Fixes trac #5023 and #5921. Signed-off-by: NMoritz Barsnick <barsnick@gmx.net> Reviewed-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Moritz Barsnick 提交于
According to RFC1341, the multipart boundary indicated by the Content-Type header must be prepended by CRLF + "--", and followed by CRLF. In the case of strict MIME header boundary handling, the "--" was forgotten to add. Fixes trac #7921. A side effect is that this coincidentally breaks enforcement of strict MIME headers against servers running motion < 3.4.1, where the boundary announcement in the HTTP headers incorrectly used the prefix "--", which exactly matched this bug's behavior. Signed-off-by: NMoritz Barsnick <barsnick@gmx.net> Reviewed-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Moritz Barsnick 提交于
The string matching function's return value was evaluated incorrectly. Fixes trac #7920. Signed-off-by: NMoritz Barsnick <barsnick@gmx.net> Reviewed-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 07 10月, 2019 1 次提交
-
-
由 Andreas Rheinhardt 提交于
Put an AVIOContext whose lifetime doesn't extend beyond the function where it is allocated on the stack instead of allocating and freeing it. Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 21 3月, 2019 1 次提交
-
-
由 Carl Eugen Hoyos 提交于
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
-
- 26 6月, 2018 1 次提交
-
-
由 Mark Thompson 提交于
-
- 01 9月, 2017 1 次提交
-
-
由 Anton Khirnov 提交于
(cherry picked from commit 6f554521) Signed-off-by: NJames Almer <jamrial@gmail.com>
-
- 11 2月, 2017 1 次提交
-
-
由 Anton Khirnov 提交于
-
- 09 3月, 2016 1 次提交
-
-
由 Carl Eugen Hoyos 提交于
-
- 24 2月, 2016 1 次提交
-
-
由 Anton Khirnov 提交于
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.
-
- 22 2月, 2016 2 次提交
-
-
由 Michael Niedermayer 提交于
there are no timestamps being set, thus do not attempt to collect any Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Alex Agranovsky 提交于
Signed-off-by: NAlex Agranovsky <alex@sighthound.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 14 2月, 2016 2 次提交
-
-
由 Alex Agranovsky 提交于
Signed-off-by: NAlex Agranovsky <alex@sighthound.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Alex Agranovsky 提交于
Fixes 5023 Signed-off-by: NAlex Agranovsky <alex@sighthound.com> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 13 1月, 2016 1 次提交
-
-
由 Carl Eugen Hoyos 提交于
-
- 10 12月, 2015 1 次提交
-
-
由 Alex Agranovsky 提交于
Fixes Coverity CID 1341576 Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 04 12月, 2015 2 次提交
-
-
由 Clément Bœsch 提交于
-
由 Michael Niedermayer 提交于
avformat/mpjpegdec: Fix "libavformat/mpjpegdec.c:269:9: warning: passing argument 3 of av_stristart from incompatible pointer type" Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 03 12月, 2015 3 次提交
-
-
由 James Almer 提交于
-
由 Alex Agranovsky 提交于
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: NAlex Agranovsky <alex@sighthound.com>
-
由 Alex Agranovsky 提交于
Fixes ticket 5023 Signed-off-by: NAlex Agranovsky <alex@sighthound.com>
-
- 23 10月, 2015 1 次提交
-
-
由 Luca Barbato 提交于
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 10月, 2015 1 次提交
-
-
由 Carl Eugen Hoyos 提交于
-
- 21 9月, 2015 1 次提交
-
-
由 Alex Agranovsky 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 17 9月, 2015 1 次提交
-
-
由 Ganesh Ajjanagadde 提交于
Silences a -Wunused-variable and -Wunused-function observed under GCC 5.2. Signed-off-by: NGanesh Ajjanagadde <gajjanagadde@gmail.com>
-
- 14 9月, 2015 3 次提交
-
-
由 Clément Bœsch 提交于
-
由 Alex Agranovsky 提交于
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Alex Agranovsky 提交于
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: NMichael Niedermayer <michael@niedermayer.cc>
-
- 13 9月, 2015 1 次提交
-
-
由 Alex Agranovsky 提交于
avformat/mpjpegdec: Allow mpjpeg headers parsing to succeed upon EOF, if required headers are present Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 28 6月, 2015 1 次提交
-
-
由 Luca Barbato 提交于
Bug-Id: CID 1308152
-
- 09 6月, 2015 3 次提交
-
-
由 James Almer 提交于
The first check is done without the AVIOContext, so alloc it only if said check succeeds Signed-off-by: NJames Almer <jamrial@gmail.com> Signed-off-by: NJanne Grunau <janne-libav@jannau.net>
-
由 James Almer 提交于
The first check is done without the AVIOContext, so alloc it only if said check succeeds Reviewed-by: NMichael Niedermayer <michaelni@gmx.at> Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
Signed-off-by: NJames Almer <jamrial@gmail.com>
-
- 08 6月, 2015 1 次提交
-
-
由 Janne Grunau 提交于
-
- 07 6月, 2015 1 次提交
-
-
由 Luca Barbato 提交于
Support only streams with Content-Length. Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
-