- 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.
-
- 05 Dec, 2015 1 commit
-
-
Michael Niedermayer authored
Fixes: ce19e41f0ef1e52a23edc488faecdb58/asan_heap-oob_2504e97_4202_ffa0df1baed14022b9bfd4f8ac23d0cb.smk Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 01 Feb, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 07 Aug, 2014 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Mar, 2014 1 commit
-
-
Diego Biurrun authored
-
- 12 Nov, 2013 1 commit
-
-
Michael Niedermayer authored
Fixes probetest failure Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 13 Oct, 2013 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 26 Sep, 2013 1 commit
-
-
Martin Storsjö authored
When av_reallocp fails, the associated variables that keep track of the number of elements in the array (and in some cases, the separate number of allocated elements) need to be reset. Not all of these might technically be needed, but it's better to reset them if in doubt, to make sure variables don't end up conflicting. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Sep, 2013 1 commit
-
-
Michael Niedermayer authored
Fixes null pointer dereference Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 18 Sep, 2013 1 commit
-
-
Alexandra Khirnova authored
Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 17 Sep, 2013 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 12 Sep, 2013 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 11 Sep, 2013 3 commits
-
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 16 Jun, 2013 2 commits
-
-
Kostya Shishkov authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Kostya Shishkov authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 28 May, 2013 1 commit
-
-
Kostya Shishkov authored
-
- 27 May, 2013 1 commit
-
-
Kostya Shishkov authored
-
- 03 Apr, 2013 1 commit
-
-
Paul B Mahol authored
Regression since a93b572a. Fixes #2426. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 06 Dec, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 12 Nov, 2012 1 commit
-
-
Justin Ruggles authored
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 29 Jul, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 22 Apr, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes slight overread. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 07 Mar, 2012 1 commit
-
-
Ronald S. Bultje authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-
- 16 Dec, 2011 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket777 Bug Found by: Diana Elena Muscalu Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 30 Nov, 2011 1 commit
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
- 19 Oct, 2011 1 commit
-
-
Anton Khirnov authored
Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
-
- 11 Oct, 2011 1 commit
-
-
Justin Ruggles authored
Makes the code easier to understand.
-
- 12 Sep, 2011 3 commits
-
-
Laurent Aimar authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Kostya Shishkov authored
Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 11 Sep, 2011 1 commit
-
-
Laurent Aimar authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 17 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 02 Jun, 2011 1 commit
-
-
Mans Rullgard authored
-
- 29 May, 2011 1 commit
-
-
Clément Bœsch authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-