- 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.
-
- 26 Oct, 2015 1 commit
-
-
Luca Barbato authored
`av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
-
- 21 Apr, 2015 1 commit
-
-
Michael Niedermayer authored
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 19 Apr, 2015 1 commit
-
-
Vittorio Giovara authored
This applies to every library where performance is not critical.
-
- 11 Apr, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 14 Feb, 2015 1 commit
-
-
Diego Biurrun authored
-
- 28 Jan, 2015 1 commit
-
-
Paul B Mahol authored
Check of channels !=0 is right above. Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 27 Jan, 2015 1 commit
-
-
Vittorio Giovara authored
Avoid a division by zero. CC: libav-stable@libav.org Bug-Id: CID 717749
-
- 18 Jan, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 17 Jan, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 26 Aug, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 15 Aug, 2014 1 commit
-
-
Gabriel Dume authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 07 Aug, 2014 1 commit
-
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 09 Jul, 2014 1 commit
-
-
Anton Khirnov authored
-
- 02 Jun, 2013 1 commit
-
-
Diego Biurrun authored
-
- 04 May, 2013 1 commit
-
-
Diego Biurrun authored
-
- 11 Apr, 2013 1 commit
-
-
Diego Biurrun authored
-
- 18 Dec, 2012 1 commit
-
-
Diego Biurrun authored
-
- 28 Nov, 2012 1 commit
-
-
Justin Ruggles authored
-
- 20 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes CID717749 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 18 Sep, 2012 1 commit
-
-
Michael Niedermayer authored
they keep showing up if i grep for non av assert() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 06 May, 2012 1 commit
-
-
Diego Biurrun authored
This fixes a number of unused-but-set gcc warnings.
-
- 13 Feb, 2012 2 commits
-
-
Diego Biurrun authored
This allows dropping the av_unused argument from them.
-
Diego Biurrun authored
-
- 10 Feb, 2012 1 commit
-
-
Joakim Plate authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
- 30 Jan, 2012 3 commits
-
-
Alex Converse authored
Related to CVE-2011-3940. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Alex Converse authored
Check results for av_malloc() and fix an overflow in one call. Related to CVE-2011-3940. Based in part on work from Michael Niedermayer. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
-
Michael Niedermayer authored
Fixes CVE-2011-3940 (Out of bounds read resulting in out of bounds write) Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5c011706) Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-
- 25 Jan, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes CVE-2011-3940 (Out of bounds read resulting in out of bounds write) Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 30 Dec, 2011 1 commit
-
-
Michael Niedermayer authored
This can easily be NULL as string_size can be 2g in a damaged file. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 13 Dec, 2011 1 commit
-
-
Reimar Döffinger authored
See samples/nsv/vlb_audio. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 11 Dec, 2011 1 commit
-
-
Reimar Döffinger authored
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 30 Nov, 2011 1 commit
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
- 02 Nov, 2011 1 commit
-
-
Diego Biurrun authored
-
- 19 Oct, 2011 1 commit
-
-
Anton Khirnov authored
Manual replacements are done in this commit. In many cases, the id is some constant made up number (e.g. 0 for video and 1 for audio), which is then not used in the demuxer for anything. Those ids are removed.
-
- 14 Sep, 2011 1 commit
-
-
Joakim Plate authored
-
- 17 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 03 Jul, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-