summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
Commit message (Collapse)AuthorAge
* avio: Mark the old interrupt callback mechanism as deprecatedMartin Storsjö2011-11-18
| | | | Prepare for removing it at an upcoming major bump.
* avio: add avio_open2, taking an interrupt callback and optionsMartin Storsjö2011-11-13
| | | | | | | | | | | The interrupt callback has to be passed in during opening (setting it after opening isn't enough), since a blocking open couldn't be interrupted otherwise. Options are passed down to procotols and also need to be available during open() in most cases. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: Add AVIOInterruptCBMartin Storsjö2011-11-13
| | | | | | | | | | | | | This is a better io interrupt callback function, which has an opaque parameter, which is given to the interrupt callback. This allows callers to precisely cancel IO for one single AVFormatContext, without interrupt other ones in the same process. Note, it's not needed in AVIOContext, at the moment. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doxygen: Prefer member groups over grouping into modulesReinhard Tartler2011-07-02
| | | | | | | | | Before this, almost all module groups have been used for grouping functions and fields in structures semantically. This causes them to not appear properly in the file documentation and needlessly clutters up the "Modules" index. Additionally, this commit streamlines some spelling and appearances.
* Use av_printf_format to check the usage of printf style functionsMartin Storsjö2011-06-23
| | | | | | | | This helps catching cases where the format string doesn't match what is passed in, or injection bugs where user data is passed in as format string. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: document buffer must created with av_malloc() and friendsCan Wu2011-05-21
| | | | | | Else a later buffer resize in ffio_set_buf_size() will ABORT. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: Fix the deprecated fallback URL-prefixed open flagsMartin Storsjö2011-04-28
| | | | | | | | | | | | | | | | While deprecated, they're totally useless as long as their values are different from the AVIO_FLAG values that are used internally. Currently, this leads to old libav applications still compiling correctly (since we haven't removed the fallback wrappers), but failing since the functions internally compare to the new AVIO_FLAG values. These should be removed at some point, but they aren't removed yet. The intent is to be able to recompile an old application against the new ABI without modifying the code, and this doesn't work currently. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbolsStefano Sabatini2011-04-19
| | | | | | | | Make AVIO_FLAG_ access constants work as flags, and in particular fix the behavior of functions (such as avio_check()) which expect them to be flags rather than modes. This breaks API.
* lavf: remove misc disabled cruft.Anton Khirnov2011-04-19
|
* lavf: remove FF_API_URL_CLASS cruft.Anton Khirnov2011-04-19
|
* lavf: remove FF_API_UDP_GET_FILE cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_REGISTER_PROTOCOL cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_URL_RESETBUF cruftAnton Khirnov2011-04-19
|
* avio: deprecate url_exist in favor of avio_check.Anton Khirnov2011-04-13
|
* avio: add avio_check()Stefano Sabatini2011-04-13
| | | | | | | | The new function is more flexible than url_exist(), as it allows to specify which access flags to check, and does not require an explicit open of the checked resource. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: left-shift AVIO_ flags on next bumpAnton Khirnov2011-04-13
| | | | Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.
* avio: undeprecate av_url_read_fseek/fpause under nicer namesAnton Khirnov2011-04-12
| | | | It seems their replacements won't be ready anytime soon.
* avio: add more documentation for AVIOContext.Anton Khirnov2011-04-10
|
* avio: document some members of AVIOContext.Anton Khirnov2011-04-10
|
* avio: document avio_close().Anton Khirnov2011-04-10
|
* avio: cosmetics, vertically align comments.Anton Khirnov2011-04-10
|
* avio: cosmetics, group the reading functions.Anton Khirnov2011-04-10
|
* avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.Anton Khirnov2011-04-10
|
* avio: cosmetics, move AVIOContext to start of the file.Anton Khirnov2011-04-10
|
* avio: update file header.Anton Khirnov2011-04-10
|
* avio: deprecate av_protocol_next().Anton Khirnov2011-04-08
|
* avio: add a function for iterating though protocol names.Anton Khirnov2011-04-08
|
* avio: make URLProtocol internal.Anton Khirnov2011-04-08
|
* avio: make URLContext internal.Anton Khirnov2011-04-08
|
* avio: deprecate the typedef for URLInterruptCBAnton Khirnov2011-04-08
| | | | | There's no particular reason to pollute the namespace with a typedef for it.
* avio: move extern url_interrupt_cb declaration from avio.h to url.hAnton Khirnov2011-04-07
|
* avio: make av_register_protocol2 internal.Anton Khirnov2011-04-07
|
* avio: avio_ prefix for url_set_interrupt_cb.Anton Khirnov2011-04-07
|
* avio: AVIO_ prefixes for URL_ open flags.Anton Khirnov2011-04-07
|
* avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internalAnton Khirnov2011-04-05
|
* avio: deprecate av_url_read_seekAnton Khirnov2011-04-05
| | | | | | It's not used anywhere internally. Salvage its documentation for ffio_read_seek.
* avio: deprecate av_url_read_pauseAnton Khirnov2011-04-05
| | | | | | It's not used anywhere internally. Salvage its documentation for ffio_read_pause.
* avio: deprecate url_get_filename().Anton Khirnov2011-04-04
| | | | URLContext.filename should be used directly.
* avio: deprecate url_max_packet_size().Anton Khirnov2011-04-04
| | | | URLContext.max_packet_size should be used directly.
* avio: make url_get_file_handle() internal.Anton Khirnov2011-04-04
|
* avio: make url_filesize() internal.Anton Khirnov2011-04-04
|
* avio: make url_close() internal.Anton Khirnov2011-04-04
|
* avio: make url_seek() internal.Anton Khirnov2011-04-04
|
* avio: cosmetics, move AVSEEK_SIZE/FORCE declarations togetherAnton Khirnov2011-04-04
|
* avio: make url_write() internal.Anton Khirnov2011-04-04
|
* avio: make url_read_complete() internal.Anton Khirnov2011-04-04
|
* avio: make url_read() internal.Anton Khirnov2011-04-04
|
* avio: make url_open() internal.Anton Khirnov2011-04-04
|
* avio: make url_connect internal.Anton Khirnov2011-04-04
|
* avio: make url_alloc internal.Anton Khirnov2011-04-04
|