summaryrefslogtreecommitdiff
path: root/libavformat/a64.c
Commit message (Collapse)AuthorAge
* lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov2016-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* a64: Return correct error code on invalid data streamNidhi Makhijani2014-08-14
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* a64: check that extradata exists before reading from itAnton Khirnov2014-05-18
|
* a64: remove unneeded struct qualifierAnton Khirnov2014-05-18
|
* a64: remove interleaved mode.Anton Khirnov2012-11-02
| | | | It has been disabled since it was added two years ago.
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* cosmetics: Align muxer/demuxer declarationsMartin Storsjö2012-04-06
| | | | | | | 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>
* Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.Diego Biurrun2011-11-28
|
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Remove statements immediately following unconditional jumpsMans Rullgard2011-07-03
| | | | | | This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename put_flush_packet -> avio_flushAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* Cosmetics, lots of.Tobias Bindhammer2010-10-05
| | | | Originally committed as revision 25348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Solving memory leak and initialization problem with prev_pkt / pkt.Tobias Bindhammer2010-08-31
| | | | Originally committed as revision 25004 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic changes.Tobias Bindhammer2010-08-26
| | | | Originally committed as revision 24944 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Insert info from extradata into headerTobias Bindhammer2010-08-26
| | | | Originally committed as revision 24943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added option to write frames interleaved (yet disabled)Tobias Bindhammer2010-08-26
| | | | | | | For this reason, a MuxerContext and write_trailer()-function was added, to track the previous packet and flush the last packet at the end. Originally committed as revision 24942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixed some return values and deprecated CODEC_TYPE_VIDEO.Tobias Bindhammer2010-08-24
| | | | | | dithering (faster) along a linear gradient now. Originally committed as revision 24898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Corresponding muxer for the a64 codecTobias Bindhammer2010-08-23
Originally committed as revision 24875 to svn://svn.ffmpeg.org/ffmpeg/trunk