- 25 Jul, 2017 1 commit
-
-
Michael Niedermayer authored
Fixes: double free Fixes: clusterfuzz-testcase-minimized-5080550145785856 Found-by: ClusterFuzz Reviewed-by:
Nicolas George <george@nsup.org> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 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 Aug, 2014 1 commit
-
-
Andrew Stone authored
Originally, AVFormatContext and a metadata dict were provided to ff_vorbis_comment(), but this presented issues if an AVStream was being updated or the metadata on AVFormatContext wasn't actually being updated. To remedy this, ff_vorbis_stream_comment() explicitly updates a stream's metadata and sets any necessary flags. ff_vorbis_comment() does not modify any flags, and any calls to it that update AVFormatContext's metadata (just a single call) must also update AVFormatContext.event_flags after detecting any metadata changes to the provided dictionary, as signaled by a positive return value. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 09 Jul, 2014 1 commit
-
-
Anton Khirnov authored
It is supposed to be set by decoders only.
-
- 28 May, 2014 1 commit
-
-
Anton Khirnov authored
It is commonly stored in a vorbiscomment block in codec private data.
-
- 26 Apr, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes: CID1108605 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 20 Oct, 2013 1 commit
-
-
Michael Niedermayer authored
Fixes: CID1108605 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 14 Oct, 2013 1 commit
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Reviewed-by:
Nicolas George <george@nsup.org> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 24 Sep, 2012 1 commit
-
-
Luca Barbato authored
Not having the header for a codec is a tell-tale of a broken file.
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 30 Nov, 2011 1 commit
-
-
Anton Khirnov authored
It's supposed to be called only from (de)muxers.
-
- 25 Oct, 2011 1 commit
-
-
Nicolas George authored
The situation was not clear when support was added but it is now: CELT and Opus are really two different codecs. The current code supports CELT via libcelt, not Opus. Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 04 Oct, 2011 1 commit
-
-
Justin Ruggles authored
-
- 26 Sep, 2011 1 commit
-
-
Nicolas George authored
This patch also introduces CODEC_ID_CELT. Signed-off-by:
Nicolas George <nicolas.george@normalesup.org> Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- 29 May, 2011 1 commit
-
-
Clément Bœsch authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 19 Apr, 2011 3 commits
-
-
Nicolas George authored
Signed-off-by:
Nicolas George <nicolas.george@normalesup.org>
-
Nicolas George authored
Signed-off-by:
Nicolas George <nicolas.george@normalesup.org>
-
Nicolas George authored
This patch also introduces CODEC_ID_CELT. Signed-off-by:
Nicolas George <nicolas.george@normalesup.org>
-