Reinhard Tartler
21a19b7912
doxygen: Prefer member groups over grouping into modules
...
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.
2011-07-02 13:52:29 +02:00
Martin Storsjö
9abbe8cc13
Use av_printf_format to check the usage of printf style functions
...
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>
2011-06-23 20:17:46 +03:00
Can Wu
d49051e074
avio: document buffer must created with av_malloc() and friends
...
Else a later buffer resize in ffio_set_buf_size() will ABORT.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-21 13:42:50 +02:00
Martin Storsjö
5b81e29593
avio: Fix the deprecated fallback URL-prefixed open flags
...
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>
2011-04-28 23:28:17 +03:00
Stefano Sabatini
59d96941f0
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
...
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.
2011-04-19 19:47:58 +02:00
Anton Khirnov
32b80696e0
lavf: remove misc disabled cruft.
2011-04-19 18:31:55 +02:00
Anton Khirnov
7f804085f1
lavf: remove FF_API_URL_CLASS cruft.
2011-04-19 18:31:12 +02:00
Anton Khirnov
c4efa7c229
lavf: remove FF_API_UDP_GET_FILE cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
dcd4a7b62f
lavf: remove FF_API_REGISTER_PROTOCOL cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
468644f6c1
lavf: remove FF_API_URL_RESETBUF cruft
2011-04-19 18:28:38 +02:00
Anton Khirnov
4bde56d1af
avio: deprecate url_exist in favor of avio_check.
2011-04-13 07:38:18 +02:00
Stefano Sabatini
175389c854
avio: add avio_check()
...
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>
2011-04-13 07:38:15 +02:00
Anton Khirnov
cbea3ac820
avio: left-shift AVIO_ flags on next bump
...
Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.
2011-04-13 07:36:32 +02:00
Anton Khirnov
ff1ec0c3f8
avio: undeprecate av_url_read_fseek/fpause under nicer names
...
It seems their replacements won't be ready anytime soon.
2011-04-12 19:17:05 +02:00
Anton Khirnov
d1c5fdf892
avio: add more documentation for AVIOContext.
2011-04-10 14:31:49 +02:00
Anton Khirnov
c1a9012d62
avio: document some members of AVIOContext.
2011-04-10 07:41:56 +02:00
Anton Khirnov
e782a0c6da
avio: document avio_close().
2011-04-10 07:41:56 +02:00
Anton Khirnov
893816ba1e
avio: cosmetics, vertically align comments.
2011-04-10 07:41:56 +02:00
Anton Khirnov
72d4405b66
avio: cosmetics, group the reading functions.
2011-04-10 07:41:56 +02:00
Anton Khirnov
37744e3282
avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.
2011-04-10 07:41:56 +02:00
Anton Khirnov
fafa7290f1
avio: cosmetics, move AVIOContext to start of the file.
2011-04-10 07:41:56 +02:00
Anton Khirnov
6084ee5dc5
avio: update file header.
2011-04-10 07:41:55 +02:00
Anton Khirnov
cdc6a87f19
avio: deprecate av_protocol_next().
2011-04-08 17:48:53 +02:00
Anton Khirnov
f8270bbf8c
avio: add a function for iterating though protocol names.
2011-04-08 17:48:44 +02:00
Anton Khirnov
5593f03148
avio: make URLProtocol internal.
2011-04-08 15:59:26 +02:00
Anton Khirnov
c486dade95
avio: make URLContext internal.
2011-04-08 15:59:19 +02:00
Anton Khirnov
026e175775
avio: deprecate the typedef for URLInterruptCB
...
There's no particular reason to pollute the namespace with a typedef for
it.
2011-04-08 07:07:58 +02:00
Anton Khirnov
5cec897105
avio: move extern url_interrupt_cb declaration from avio.h to url.h
2011-04-07 18:11:24 +02:00
Anton Khirnov
8e76a19b63
avio: make av_register_protocol2 internal.
2011-04-07 18:11:24 +02:00
Anton Khirnov
80c6e238b0
avio: avio_ prefix for url_set_interrupt_cb.
2011-04-07 18:11:24 +02:00
Anton Khirnov
f87b1b373a
avio: AVIO_ prefixes for URL_ open flags.
2011-04-07 18:07:16 +02:00
Anton Khirnov
b840484798
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
2011-04-05 08:40:57 +02:00
Anton Khirnov
1305d93c42
avio: deprecate av_url_read_seek
...
It's not used anywhere internally.
Salvage its documentation for ffio_read_seek.
2011-04-05 08:40:27 +02:00
Anton Khirnov
fa104e14ab
avio: deprecate av_url_read_pause
...
It's not used anywhere internally.
Salvage its documentation for ffio_read_pause.
2011-04-05 08:39:40 +02:00
Anton Khirnov
727c7aa026
avio: deprecate url_get_filename().
...
URLContext.filename should be used directly.
2011-04-04 17:45:20 +02:00
Anton Khirnov
5958df341d
avio: deprecate url_max_packet_size().
...
URLContext.max_packet_size should be used directly.
2011-04-04 17:45:20 +02:00
Anton Khirnov
1869ea03b7
avio: make url_get_file_handle() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
32a97d4630
avio: make url_filesize() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
e52a9145c8
avio: make url_close() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
58a48c6511
avio: make url_seek() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
230a468679
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
2011-04-04 17:45:20 +02:00
Anton Khirnov
925e908bc7
avio: make url_write() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
dce3756459
avio: make url_read_complete() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
bc371aca46
avio: make url_read() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
0589da0aa5
avio: make url_open() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
62eaaeacb5
avio: make url_connect internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
5652bb9471
avio: make url_alloc internal.
2011-04-04 17:45:19 +02:00
Anton Khirnov
333e894363
avio: deprecate url_open_protocol
...
The unbuffered API will be made private and it's not used anywhere
internally.
2011-04-04 07:46:29 +02:00
Anton Khirnov
e230705392
avio: deprecate url_poll and URLPollEntry
...
They're unimplemented and nobody cared to do anything with that for
10 years.
2011-04-04 07:45:44 +02:00
Anton Khirnov
724f6a0fa4
avio: make url_fdopen internal.
...
The unbuffered URLContext API will be made private, so there's no point
in this function being public.
2011-04-03 22:47:39 +02:00