summaryrefslogtreecommitdiff
path: root/libavformat/options.c
Commit message (Collapse)AuthorAge
* lavf: add a protocol whitelist/blacklist for file opened internallyAnton Khirnov2016-02-22
| | | | | | | | Should make the default behaviour safer for careless callers that open random untrusted files. Bug-Id: CVE-2016-1897 Bug-Id: CVE-2016-1898
* lavf: allow custom IO for all filesAnton Khirnov2016-01-24
| | | | | | | | | | | | | | Some (de)muxers open additional files beyond the main IO context. Currently, they call avio_open() directly, which prevents the caller from using custom IO for such streams. This commit adds callbacks to AVFormatContext that default to avio_open2()/avio_close(), but can be overridden by the caller. All muxers and demuxers using AVIO are switched to using those callbacks instead of calling avio_open()/avio_close() directly. (de)muxers that use the URLProtocol layer directly instead of AVIO remain unconverted for now. This should be fixed in later commits.
* lavc: Move deprecation warning disabling to files including the tableVittorio Giovara2015-07-03
| | | | | | Unbreak build from 7a5902c556d84a367dd64a003a4e7244fc3a73d1. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: Rename avclass symbols relating to avioMartin Storsjö2015-02-28
| | | | | | | Don't prefix them ffio_url, which is misleading, sounding too much like the urlprotocol layer (like ffurl_*). Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: move internal fields from public to internal contextwm42015-02-10
| | | | | | | This is not an API change; the fields were explicitly declared private before. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: Only initialize s->offset once when using avoid_negative_ts make_zeroMartin Storsjö2014-11-17
| | | | | | | | | | When given a stream starting at dts=0, it would previously consider s->offset as uninitialized and set an offset when the second packet was written, ending up writing two packets with dts=0. By initializing this field to AV_NOPTS_VALUE, we make sure that we only initialize it once, on the first packet. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: ignore attachment streams for interleaving purposesAnton Khirnov2014-02-04
| | | | Those streams should never get any packets by definition.
* Give less generic names to global library option arraysDiego Biurrun2013-08-02
|
* Move AVFormatContext/AVCodecContext option tables to separate files.Anton Khirnov2012-03-20
| | | | This will allow us to automatically generate manpages for them.
* lavf: remove disabled FF_API_MUXRATE cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_FLAG_RTP_HINT cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_OLD_AVIO cruftAnton Khirnov2012-01-27
|
* lavf: rename fer option and document resulting (f_)err_detect optionsDustin Brody2012-01-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: simplify format_child_class_next()Luca Barbato2011-11-14
| | | | | And fix the error introduced when adding private option to avio. See 32caa7b13cecca59213c73fa94dd683c2b003bfd
* lavf: pass options from AVFormatContext to avio.Anton Khirnov2011-11-13
|
* mpegenc/mpegtsenc: add muxrate private options.Anton Khirnov2011-10-17
| | | | Deprecate AVFormatContext.mux_rate.
* AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*Anton Khirnov2011-10-12
|
* AVOptions: add new API for enumerating children.Anton Khirnov2011-10-12
| | | | | | | | | This will allow the caller to enumerate child contexts in a generic way and since the API is recursive, it also allows for deeper nesting (e.g. AVFormatContext->AVIOContext->URLContext) This will also allow the new setting/reading API to transparently apply to children contexts.
* lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.Anton Khirnov2011-09-03
|
* AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().Anton Khirnov2011-09-03
| | | | | It allows to search for options only with AVClass, without allocating the corresponding context.
* lavf: add support for error_recognition, use it in avidec, and bump minor ↵Dustin Brody2011-08-12
| | | | | | API version Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: Add an option to discard corrupted framesZohar Kelrich2011-08-02
| | | | | Signed-off-by: Zohar Kelrich <lumimies@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavf: add avformat_open_input() as a replacement for av_open_input_*Anton Khirnov2011-06-16
| | | | Add support for demuxer private options.
* options: Add missing braces around struct initializer.Diego Biurrun2011-06-08
| | | | | This fixes the warning: libavformat/options.c:62:1: warning: missing braces around initializer [-Wmissing-braces]
* movenc: Deprecate the global RTP hinting flag, use a private AVOption insteadMartin Storsjö2011-05-27
| | | | | | Instead of -fflags rtphint, set -movflags rtphint instead. Signed-off-by: Martin Storsjö <martin@martin.st>
* avformat: Add fpsprobesize as an AVOption.Alex Converse2011-05-25
|
* lavf: remove duplicate assignment in avformat_alloc_context.Anton Khirnov2011-05-17
| | | | AVClass is already initialized in avformat_get_context_defaults.
* lavf: use designated initializers for AVClasses.Anton Khirnov2011-05-17
|
* AVOptions: make default_val a union, as proposed in AVOption2.Anton Khirnov2011-05-10
| | | | This breaks API and ABI.
* lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_OLD_METADATA cruftAnton Khirnov2011-04-19
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* add FF_API_ALLOC_FORMAT_CONTEXT define to disable the deprecatedAurelien Jacobs2010-10-15
| | | | | | av_alloc_format_context() public function Originally committed as revision 25483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move AVOptions from libavcodec to libavutilMichael Niedermayer2010-09-26
| | | | Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add an AVOption max_delay for AVFormatContext->max_delayMartin Storsjö2010-09-24
| | | | | | | | This can currently also be set via -muxdelay in ffmpeg for muxers, but not for demuxers (nor for demuxers in ffplay) - this patch allows it to be set in all those cases. Originally committed as revision 25180 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename LAVF_API_* defines to FF_API_* to clarify that it is not public APIAurelien Jacobs2010-08-18
| | | | Originally committed as revision 24825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add LAVF_API_OLD_METADATA define to disable the deprecated metadata APIAurelien Jacobs2010-08-17
| | | | Originally committed as revision 24818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove typo: s/ingore/ignore/Luca Barbato2010-06-24
| | | | Originally committed as revision 23758 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a flag for enabling RTP hintingMartin Storsjö2010-05-18
| | | | Originally committed as revision 23161 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add version to AVClass so we can add to and use fields of AVClass without ↵Michael Niedermayer2010-04-28
| | | | | | ABI issues. Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVFMT_FLAG_NOFILLIN and AVFMT_FLAG_NOPARSE.Michael Niedermayer2010-03-31
| | | | Originally committed as revision 22745 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Flag to ignore dts on frames that contain pts.Michael Niedermayer2010-01-30
| | | | | | | This works around common issues with mpeg-ps files with broken timestamps. Also allows playing the broken sample from issue1024. Originally committed as revision 21562 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Increase default value for max_analyze_duration, fixes issue 1506, a regression.Carl Eugen Hoyos2009-11-09
| | | | Originally committed as revision 20483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use AVFormatContext->probesize in av_find_stream_info and raise default to 5MBaptiste Coudurier2009-06-25
| | | | Originally committed as revision 19274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* deprecate old metadata APIAurelien Jacobs2009-03-01
| | | | Originally committed as revision 17690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate av_malloc_format_context() in favor ofStefano Sabatini2009-02-08
| | | | | | | avformat_alloc_context(), and drop the old symbol at the next major bump. Originally committed as revision 17047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the AVFormatContext options definition to a dedicated file,Stefano Sabatini2009-01-10
reduce the utils.c clutter. Originally committed as revision 16516 to svn://svn.ffmpeg.org/ffmpeg/trunk