History | View | Annotate | Download (21.2 KB)
avio: deprecate url_get_filename().
URLContext.filename should be used directly.
avio: deprecate url_max_packet_size().
URLContext.max_packet_size should be used directly.
avio: make url_get_file_handle() internal.
avio: make url_filesize() internal.
avio: make url_close() internal.
avio: make url_seek() internal.
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
avio: make url_write() internal.
avio: make url_read_complete() internal.
avio: make url_read() internal.
avio: make url_open() internal.
avio: make url_connect internal.
avio: make url_alloc internal.
avio: deprecate url_open_protocol
The unbuffered API will be made private and it's not used anywhereinternally.
avio: deprecate url_poll and URLPollEntry
They're unimplemented and nobody cared to do anything with that for10 years.
avio: make url_fdopen internal.
The unbuffered URLContext API will be made private, so there's no pointin this function being public.
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 becleaned up when somebody is up for it.
avio: avio_ prefix for url_close_dyn_buf
avio: avio_ prefix for url_open_dyn_buf
avio: introduce an AVIOContext.seekable field
Use it instead of url_is_streamed and AVIOContext.is_streamed.
avio: document avio_alloc_context.
avio: make get_checksum() internal.
avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
avio: make init_checksum() internal.
avio: make udp_set_remote_url/get_local_port internal.
avio: cosmetics - nicer vertical alignment.
Signed-off-by: Mans Rullgard <mans@mansr.com>
avio: make av_url_read_fseek/fpause internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
avio: deprecate url_fileno
It's an evil hack that assumes an AVIOContext is always based on top ofan URLContext.It's also not used anywhere.
Replace FFmpeg with Libav in licence headers
avio: rename put_flush_packet -> avio_flush
avio: deprecate url_close_buf
It's not used anywhere and its return value looks broken.
avio: deprecate url_open_buf
It's only used in one place and does the same thing asavio_alloc_context.
avio: avio_ prefix for url_fprintf
avio: change avio_tell/skip from macros to inline functions
avio: make url_setbufsize internal.
lavf: move ff_get_v from avio.h to avio_internal.h
And rename it to ffio_read_varlen.
Use AVERROR_EXIT with url_interrupt_cb.
Functions interrupted by url_interrupt_cb should not be restarted.Therefore using AVERROR was wrong, as it did not allow to distinguishwhen the underlying system call was interrupted and actually needed to be...
avio: deprecate url_ferror
AVIOContext.error should be used directly instead.
avio: deprecate url_feof
AVIOContext.eof_reached should be used directly instead.
avio: move ff_rewind_with_probe_data from avio.h to avio_internal.h
also change its prefix to ffio
avio: deprecate url_fget_max_packet_size
AVIOContext.max_packet_size should be used directly instead.
avio: avio_ prefix for url_fsize
avio: deprecate url_fgetc and remove all it uses
avio: deprecate url_fgets
It's not used anywhere and doesn't look ver useful to be public.
avio: add avio_skip macro
This is a substitute for the url_fskip function that was deprecated bycommit 0300db8ad778a194b4a8ec98f6da3de5b41c46ee. avio_fskip is provided toimprove demuxer code readability. It distinguishes the act of skipping overunknown or irrelevant bytes from the standard avio_seek operation....
URLProtocol: Add URL_PROTOCOL_FLAG_NESTED_SCHEME
If this flag is set, the protocol can handle URLs where thescheme is a nested scheme such as applehttp+file: - the protocolcan handle any URL where the first segment of the nested schemebelongs to this protocol....
URLProtocol: Add a flags field
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
avio: add avio_tell macro as a replacement for url_ftell
lavf: deprecate get_strz() in favor of avio_get_str
avio: add avio_get_str()
avio: deprecate url_fskip
avio_seek should be used instead
avio: avio_ prefix for url_fseek
avio: deprecate put_tag
it's not used internally anymore and shouldn't be public.
avio: rename url_fopen/fclose -> avio_open/close.
avio: make put_nbyte internal.
avio: avio: avio_ prefixes for put_* functions
In the name of consistency:put_byte -> avio_w8put_<type> -> avio_w<type>put_buffer -> avio_write
put_nbyte will be made privateput_tag will be merged with avio_put_str
avio: make get_partial_buffer internal.
avio: avio_ prefixes for get_* functions
In the name of consistency:get_byte -> avio_r8get_<type> -> avio_r<type>get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return...
avio: rename av_alloc_put_byte -> avio_alloc_context for consistency
avio: move init_put_byte() to a new private header and rename it
init_put_byte should never be used outside of lavf, sincesizeof(AVIOContext) isn't part of public ABI.
avio: rename ByteIOContext to AVIOContext.
Non-blocking protocol: core wrapper functions
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Non-blocking protocols: flag and documentation
lavf: make a variant of ff_get_str16_nolen public
It will be useful in mp3 demuxer and hopeful some other places.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
lavf: move ff_put_str16_nolen from asf to avio and rename it
It will be useful in the mp3 muxer.
avio: add av_put_str and deprecate put_strz in favor of it
lavf: move the version macros to a new header
Add function put_nbyte() to speed up padding in SPDIF muxer.
Patch by Anssi Hannula, anssi d hannula a iki d fi
Originally committed as revision 26193 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document url_write().
Originally committed as revision 25613 to svn://svn.ffmpeg.org/ffmpeg/trunk
drop rtp_get_file_handles() which is not part of public API and not used anymore
Originally committed as revision 25556 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FF_API_UDP_GET_FILE define to disable the deprecated udp_get_file_handle()public function
Originally committed as revision 25481 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move the definitions of AVSEEK_SIZE to make it appear before thedescription of url_seek(), which references it.
Originally committed as revision 25376 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document url_get_filename().
Originally committed as revision 25310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document url_filesize().
Originally committed as revision 25268 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FF_API_URL_RESETBUF define to disable the deprecated url_resetbuf()public function
Originally committed as revision 24841 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FF_API_REGISTER_PROTOCOL define to disable the deprecatedregister_protocol() function
Originally committed as revision 24840 to svn://svn.ffmpeg.org/ffmpeg/trunk
add FF_API_URL_CLASS define to enable usage of URLContext as a AVClass
Originally committed as revision 24835 to svn://svn.ffmpeg.org/ffmpeg/trunk
url_fskip: Return an error code if the url_fseek failed
Originally committed as revision 24277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Pad the buffer in url_close_dyn_buf, for buffers opened with url_open_dyn_buf
Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 23942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix grammar errors in documentation
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add all required includes to avio.h
Originally committed as revision 23734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add priv_data_size and priv_data_class to URLProtocol
This allows url_alloc to allocate and initialize the priv_data.
Originally committed as revision 23706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Split url_open and url_open_protocol into url_alloc and url_connect
Originally committed as revision 23704 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add an av_register_protocol2 function that takes a size parameter
This allows extending the URLProtocol struct without breaking binarycompatibility with code compiled with older definitions of the struct.
Originally committed as revision 23702 to svn://svn.ffmpeg.org/ffmpeg/trunk
Declare the url_write buffer parameter as const
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if thedocumentation in the @file block refers to a file different from theone the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() instead of seeking back to the start of the file. Once exhausted, the size of the buffer is reduced.
Originally committed as revision 22821 to svn://svn.ffmpeg.org/ffmpeg/trunk
Replace @returns by @return.
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document url_exist().
Originally committed as revision 22725 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document url_seek().
Originally committed as revision 22709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add AVSEEK_FORCE flag to indicate that the code should attempt to seekby any means.
Originally committed as revision 22557 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxument url_fopen().
Originally committed as revision 21714 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxument url_fdopen().
Originally committed as revision 21647 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document av_register_protocol(), not that it really needs to bedocumented but it's nice to have everything documented.
Originally committed as revision 21471 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxument url_open().
Originally committed as revision 21437 to svn://svn.ffmpeg.org/ffmpeg/trunk
Favor the term "URL" over "filename", as the API deals with URLsrather than with simple filenames.
Originally committed as revision 21429 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxument url_close().
Originally committed as revision 21420 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxument url_open_protocol().
Originally committed as revision 21417 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxument url_read().
Originally committed as revision 21415 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make url_read_complete retry on EAGAIN and return how much data it readif it reached EOF, making it useful in more cases.
Originally committed as revision 21393 to svn://svn.ffmpeg.org/ffmpeg/trunk