History | View | Annotate | Download (24 KB)
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
avio: rename put_flush_packet -> avio_flush
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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
Make url_resetbuf() assert on wrong flags passed and make it static on nextversion bump.See thread: [FFmpeg-devel] & vs. &&Date: Mon, 12 Oct 2009 14:21:06 +0200
Originally committed as revision 20330 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move function for reading whole specified amount of data from RTSPdemuxer into more common place.
Originally committed as revision 19087 to svn://svn.ffmpeg.org/ffmpeg/trunk
Define struct URLContext and typedef it to URLContext in one step.
Originally committed as revision 18948 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add url_get_file_handle(), which is used to get the file descriptorassociated with the I/O handle (e.g. the fd returned by open()). See"[RFC] rtsp.c EOF support" thread.
There were previously some URI-specific implementations of the same idea,e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are...
Mark as "internal but installed" the avio.h file.
This should prevent its direct inclusion in an external project, whichresults broken if avformat.h is not included before.
Originally committed as revision 17626 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a @file notice to avio.h.
Originally committed as revision 17625 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add missing #includes to fix 'make checkheaders'.
Originally committed as revision 17398 to svn://svn.ffmpeg.org/ffmpeg/trunk
Improve grammar: "X next after Y" -> "next X after Y".
Originally committed as revision 17347 to svn://svn.ffmpeg.org/ffmpeg/trunk
Do not export to the public the first_protocol symbol at the nextmajor bump.There is no need for that, since av_protocol_next() already providesaccess to the first registered protocol.
Originally committed as revision 17326 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document av_protocol_next().
Originally committed as revision 17324 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename register_protocol() to av_register_protocol() and deprecateregister_protocol().
Originally committed as revision 17322 to svn://svn.ffmpeg.org/ffmpeg/trunk
whitespace cosmetics
Originally committed as revision 16100 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove offset_t typedef and use int64_t directly instead.The name offset_t is easily confused with the standard off_t type and*_t is POSIX reserved namespace if any POSIX header is included.
Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from thefilename by stripping the leading "lib", converting '/' and '.' to'_' and uppercasing the resulting name. Guard names in the rootdirectory have to be prefixed by "FFMPEG_"....
Implement url_open_protocol(), which is basiclly the former url_open()but which opens a URLProtocol instead of a filename. url_open() isreimplemented to call url_open_protocol(). See discussion on"url_open_protocol" on ffmpeg-devel.
Originally committed as revision 14857 to svn://svn.ffmpeg.org/ffmpeg/trunk
minor typo fixes
Originally committed as revision 12658 to svn://svn.ffmpeg.org/ffmpeg/trunk
1st attempt at correcting the punktuation.
Originally committed as revision 12555 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document get_*_buffer()
Originally committed as revision 12548 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document a few url_* functions.
Originally committed as revision 12537 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add AVClass to URLContext at next major version bump
Patch by Björn Axelsson (bjorn axelsson intinor se)
Originally committed as revision 12411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a av_alloc_put_byte function.The name is in analogy to init_put_byte, but I would not mind itbeing changed to something better.
Originally committed as revision 11305 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix Doxygen function parameter name.
Originally committed as revision 11295 to svn://svn.ffmpeg.org/ffmpeg/trunk
comment typo fixes
Originally committed as revision 11294 to svn://svn.ffmpeg.org/ffmpeg/trunk
typo ;)
Originally committed as revision 11287 to svn://svn.ffmpeg.org/ffmpeg/trunk
Document ByteIOContext and URLContext change rules.
Originally committed as revision 11286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make recently added and still unused read_seek functions return offset_t.
Originally committed as revision 11274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Merge recently added and still unused play and pause functions.
Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove dead code which disappeared with the last major version bump.
Originally committed as revision 11268 to svn://svn.ffmpeg.org/ffmpeg/trunk