Anton Khirnov
c486dade95
avio: make URLContext internal.
14 years ago
Anton Khirnov
026e175775
avio: deprecate the typedef for URLInterruptCB
...
There's no particular reason to pollute the namespace with a typedef for
it.
14 years ago
Anton Khirnov
5cec897105
avio: move extern url_interrupt_cb declaration from avio.h to url.h
14 years ago
Anton Khirnov
8e76a19b63
avio: make av_register_protocol2 internal.
14 years ago
Anton Khirnov
80c6e238b0
avio: avio_ prefix for url_set_interrupt_cb.
14 years ago
Anton Khirnov
f87b1b373a
avio: AVIO_ prefixes for URL_ open flags.
14 years ago
Anton Khirnov
b840484798
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
14 years ago
Anton Khirnov
1305d93c42
avio: deprecate av_url_read_seek
...
It's not used anywhere internally.
Salvage its documentation for ffio_read_seek.
14 years ago
Anton Khirnov
fa104e14ab
avio: deprecate av_url_read_pause
...
It's not used anywhere internally.
Salvage its documentation for ffio_read_pause.
14 years ago
Anton Khirnov
727c7aa026
avio: deprecate url_get_filename().
...
URLContext.filename should be used directly.
14 years ago
Anton Khirnov
5958df341d
avio: deprecate url_max_packet_size().
...
URLContext.max_packet_size should be used directly.
14 years ago
Anton Khirnov
1869ea03b7
avio: make url_get_file_handle() internal.
14 years ago
Anton Khirnov
32a97d4630
avio: make url_filesize() internal.
14 years ago
Anton Khirnov
e52a9145c8
avio: make url_close() internal.
14 years ago
Anton Khirnov
58a48c6511
avio: make url_seek() internal.
14 years ago
Anton Khirnov
230a468679
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
14 years ago
Anton Khirnov
925e908bc7
avio: make url_write() internal.
14 years ago
Anton Khirnov
dce3756459
avio: make url_read_complete() internal.
14 years ago
Anton Khirnov
bc371aca46
avio: make url_read() internal.
14 years ago
Anton Khirnov
0589da0aa5
avio: make url_open() internal.
14 years ago
Anton Khirnov
62eaaeacb5
avio: make url_connect internal.
14 years ago
Anton Khirnov
5652bb9471
avio: make url_alloc internal.
14 years ago
Anton Khirnov
333e894363
avio: deprecate url_open_protocol
...
The unbuffered API will be made private and it's not used anywhere
internally.
14 years ago
Anton Khirnov
e230705392
avio: deprecate url_poll and URLPollEntry
...
They're unimplemented and nobody cared to do anything with that for
10 years.
14 years ago
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.
14 years ago
Anton Khirnov
403ee835e7
avio: make url_open_dyn_packet_buf internal.
...
It doesn't look fit to be a part of the public API.
Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it.
14 years ago
Anton Khirnov
6dc7d80de7
avio: avio_ prefix for url_close_dyn_buf
14 years ago
Anton Khirnov
b92c545282
avio: avio_ prefix for url_open_dyn_buf
14 years ago
Anton Khirnov
8978fedaee
avio: introduce an AVIOContext.seekable field
...
Use it instead of url_is_streamed and AVIOContext.is_streamed.
14 years ago
Anton Khirnov
3c96c64821
avio: document avio_alloc_context.
14 years ago
Anton Khirnov
b64030f26d
avio: make get_checksum() internal.
14 years ago
Anton Khirnov
d09cc22d9c
avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
14 years ago
Anton Khirnov
4c4427a75d
avio: make init_checksum() internal.
14 years ago
Anton Khirnov
4ec153bb66
avio: make udp_set_remote_url/get_local_port internal.
14 years ago
Anton Khirnov
491653ed90
avio: cosmetics - nicer vertical alignment.
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
933e90a69a
avio: make av_url_read_fseek/fpause internal.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
8d9769a77b
avio: deprecate url_fileno
...
It's an evil hack that assumes an AVIOContext is always based on top of
an URLContext.
It's also not used anywhere.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
35f1023592
avio: deprecate url_close_buf
...
It's not used anywhere and its return value looks broken.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
83fddaeb81
avio: deprecate url_open_buf
...
It's only used in one place and does the same thing as
avio_alloc_context.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
d9d86e00b2
avio: avio_ prefix for url_fprintf
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
af02073225
avio: change avio_tell/skip from macros to inline functions
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
59f65d9579
avio: make url_setbufsize internal.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
4839c192de
lavf: move ff_get_v from avio.h to avio_internal.h
...
And rename it to ffio_read_varlen.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Nicolas George
c76374c6db
Use AVERROR_EXIT with url_interrupt_cb.
...
Functions interrupted by url_interrupt_cb should not be restarted.
Therefore using AVERROR(EINTR) was wrong, as it did not allow to distinguish
when the underlying system call was interrupted and actually needed to be
restarted.
This fixes roundup issues 2657 and 2659 (ffplay not exiting for streamed
content).
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
3e68b3ba7b
avio: deprecate url_ferror
...
AVIOContext.error should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Michael Niedermayer
75a8e0f0ab
Add avio_skip()
14 years ago
Anton Khirnov
f8bc86d47e
avio: move ff_rewind_with_probe_data from avio.h to avio_internal.h
...
also change its prefix to ffio
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit f1ef2cd9ed
)
14 years ago
Anton Khirnov
718975aa11
avio: deprecate url_fget_max_packet_size
...
AVIOContext.max_packet_size should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit e8bb2e2439
)
14 years ago