- 31 Jan, 2017 1 commit
-
-
Moritz Barsnick authored
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
-
- 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.
-
- 25 Oct, 2015 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #4963.
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 11 Jul, 2015 1 commit
-
-
Luca Barbato authored
-
- 11 Apr, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 01 Apr, 2015 1 commit
-
-
Michael Niedermayer authored
This prevents the fields from potentially becoming inconsistent in case of errors Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 14 Feb, 2015 1 commit
-
-
Diego Biurrun authored
-
- 17 Dec, 2014 1 commit
-
-
Thomas Volkert authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 21 Nov, 2014 1 commit
-
-
Luca Barbato authored
CC: libav-stable@libav.org Bug-Id: CID 1087092
-
- 29 Apr, 2014 3 commits
-
-
Michael Niedermayer authored
Fixes CID1087092 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 23 Nov, 2013 1 commit
-
-
Diego Biurrun authored
-
- 29 Sep, 2013 1 commit
-
-
Martin Storsjö authored
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 13 Mar, 2013 1 commit
-
-
Diego Biurrun authored
-
- 12 Mar, 2013 1 commit
-
-
Diego Biurrun authored
-
- 07 Jan, 2013 1 commit
-
-
Benjamin Larsson authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 14 Nov, 2012 1 commit
-
-
Michael Niedermayer authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 01 Aug, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 22 Mar, 2012 1 commit
-
-
Alex Converse authored
This prevents a SIGFPE later on. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-
- 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)/'
-
- 17 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 15 Apr, 2011 2 commits
-
-
Diego Biurrun authored
Also add inttypes.h #include for PRId64 macros. This fixes the following warnings: libavformat/xwma.c:147: warning: too many arguments for format libavformat/xwma.c:151: warning: too many arguments for format
-
Max Horn authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 14 Apr, 2011 2 commits
-
-
Max Horn authored
ff_get_wav_header is reading data from a WAVE file and then uses it (without validation) to malloc a buffer. It then proceeded to read data into the buffer, without verifying that the allocation succeeded. To address this, change ff_get_wav_header to return an error if allocation failed, and adapted all calling code to handle that error. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Max Horn authored
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-