- 15 Dec, 2016 1 commit
-
-
Andreas Cadhalpun authored
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 14 Apr, 2016 1 commit
-
-
Paul B Mahol authored
Needed for av_log() inside that function. Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 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.
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 13 May, 2015 2 commits
-
-
Andreas Cadhalpun authored
This fixes a memleak if read_kuki_chunk is executed more than once. Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
If avio_read fails, the buffer can contain uninitialized values. Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 14 Feb, 2015 1 commit
-
-
Diego Biurrun authored
-
- 26 Sep, 2014 1 commit
-
-
Diego Biurrun authored
-
- 19 Aug, 2014 1 commit
-
-
Diego Biurrun authored
This is cleaner and avoids an uninitialized variable warning with MSVC.
-
- 18 Aug, 2014 1 commit
-
-
Paul B Mahol authored
Fixes Ticket #3864 Found-by: Piotr Bandurski <ami_stuff@o2.pl> Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 07 Aug, 2014 1 commit
-
-
James Almer authored
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 28 Jul, 2014 1 commit
-
-
Diego Biurrun authored
-
- 12 Mar, 2014 1 commit
-
-
Michael Niedermayer authored
Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 11 Mar, 2014 1 commit
-
-
Diego Biurrun authored
-
- 25 Dec, 2013 1 commit
-
-
Michael Niedermayer authored
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>
-
- 20 Jan, 2013 1 commit
-
-
Xi Wang authored
Several compilers such as clang/icc/pathscale will optimize the check pos + size < pos (assuming size > 0) into false, since signed integer overflow is undefined behavior in C. This breaks overflow checking. Use a safe precondition check instead. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 12 Dec, 2012 1 commit
-
-
Michael Niedermayer authored
Fix division by 0 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 28 Nov, 2012 1 commit
-
-
Justin Ruggles authored
-
- 27 Nov, 2012 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket1906 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 21 Nov, 2012 1 commit
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 20 Nov, 2012 1 commit
-
-
Carl Eugen Hoyos authored
-
- 28 Oct, 2012 1 commit
-
-
Paul B Mahol authored
Specification mentions 'strg', 'mark', 'regn', 'info', .. chunks to have data section size larger than chunk's current meaningful content in order to reserve room for additional data. Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 07 Sep, 2012 1 commit
-
-
Samuel Pitoiset authored
This fixes crashes when called from rtpdec_qt, where AVFormatContext->pb is null, a crash present since 3bab7cd1. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 30 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 20 Jul, 2012 1 commit
-
-
Justin Ruggles authored
It already skips any extra bytes at the end, and apparently there are some samples in the wild with larger 'kuki' chunks.
-
- 19 Jul, 2012 4 commits
-
-
Justin Ruggles authored
-
Justin Ruggles authored
It is used to store a value read by avio_rb64().
-
Justin Ruggles authored
according to the CAF specification: "... the value for mChunkSize can be greater than the actual valid content of the packet table chunk"
-
Justin Ruggles authored
-
- 21 Jun, 2012 1 commit
-
-
Ronald S. Bultje authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 06 Apr, 2012 1 commit
-
-
Martin Storsjö authored
Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 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>
-
- 27 Jan, 2012 1 commit
-
-
Anton Khirnov authored
-
- 23 Jan, 2012 2 commits
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Paul B Mahol authored
-
- 11 Dec, 2011 1 commit
-
-
Mans Rullgard authored
The existing functions defined in intfloat_readwrite.[ch] are both slow and incorrect (infinities are not handled). This introduces a new header with fast, inline conversion functions using direct union punning assuming an IEEE-754 system, an assumption already made throughout the code. The one use of Intel/Motorola extended 80-bit format is replaced by simpler code sufficient under the present constraints (positive normal values). The old functions are marked deprecated and retained for compatibility. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 30 Nov, 2011 1 commit
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
- 03 Nov, 2011 1 commit
-
-
Carl Eugen Hoyos authored
-