Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-18lavf: use designated initializers for AVClasses.Anton Khirnov
2011-05-12configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
2011-04-20avio: Fix sanity checks in ffurl_read*Martin Storsjö
This fixes e.g. reading data over HTTP, where the underlying socket is set to read/write. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-04-19avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbolsStefano Sabatini
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-19lavf: remove FF_API_URL_CLASS cruft.Anton Khirnov
2011-04-19lavf: remove FF_API_REGISTER_PROTOCOL cruftAnton Khirnov
2011-04-13avio: deprecate url_exist in favor of avio_check.Anton Khirnov
2011-04-13avio: add avio_check()Stefano Sabatini
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-08avio: deprecate av_protocol_next().Anton Khirnov
2011-04-08avio: add a function for iterating though protocol names.Anton Khirnov
2011-04-08avio: deprecate the typedef for URLInterruptCBAnton Khirnov
There's no particular reason to pollute the namespace with a typedef for it.
2011-04-07avio: make av_register_protocol2 internal.Anton Khirnov
2011-04-07avio: avio_ prefix for url_set_interrupt_cb.Anton Khirnov
2011-04-07avio: AVIO_ prefixes for URL_ open flags.Anton Khirnov
2011-04-05avio: deprecate av_url_read_seekAnton Khirnov
It's not used anywhere internally. Salvage its documentation for ffio_read_seek.
2011-04-05avio: deprecate av_url_read_pauseAnton Khirnov
It's not used anywhere internally. Salvage its documentation for ffio_read_pause.
2011-04-04avio: deprecate url_get_filename().Anton Khirnov
URLContext.filename should be used directly.
2011-04-04avio: deprecate url_max_packet_size().Anton Khirnov
URLContext.max_packet_size should be used directly.
2011-04-04avio: make url_get_file_handle() internal.Anton Khirnov
2011-04-04avio: make url_filesize() internal.Anton Khirnov
2011-04-04avio: make url_close() internal.Anton Khirnov
2011-04-04avio: make url_seek() internal.Anton Khirnov
2011-04-04avio: make url_write() internal.Anton Khirnov
2011-04-04avio: make url_read_complete() internal.Anton Khirnov
2011-04-04avio: make url_read() internal.Anton Khirnov
2011-04-04avio: make url_open() internal.Anton Khirnov
2011-04-04avio: make url_connect internal.Anton Khirnov
2011-04-04avio: make url_alloc internal.Anton Khirnov
2011-04-04avio: deprecate url_open_protocolAnton Khirnov
The unbuffered API will be made private and it's not used anywhere internally.
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-15Use AVERROR_EXIT with url_interrupt_cb.Nicolas George
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>
2011-03-07In retry_transfer_wrapper, do not check url_interrupt_cb, causes problemsBaptiste Coudurier
when writing and pressing q during encoding. Instead, check url_interrupt_cb at the end. Note that when a protocol is interrupted by url_interrupt_cb, some data may be silently discarded: the protocol context is not suitable for anything anymore. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-07URLProtocol: Add URL_PROTOCOL_FLAG_NESTED_SCHEMEMartin Storsjö
If this flag is set, the protocol can handle URLs where the scheme is a nested scheme such as applehttp+file: - the protocol can handle any URL where the first segment of the nested scheme belongs to this protocol. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-02-06Non-blocking protocol: core wrapper functionsNicolas George
Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2010-10-06Remove unused variable.Carl Eugen Hoyos
Originally committed as revision 25369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-06Use retry_transfer_wrapper() in url_write() as its callers do not expect it ↵Michael Niedermayer
to stop in the middle. Originally committed as revision 25368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-06Factor retry_transfer_wrapper() out of url_read_complete()Michael Niedermayer
Originally committed as revision 25367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-30Make register_protocol() use the function av_register_protocol2()Stefano Sabatini
rather than av_register_protocol(), which is deprecated. Fix the GCC warning: avio.c: In function ‘register_protocol’: avio.c:93: warning: ‘av_register_protocol’ is deprecated (declared at avio.c:86) Originally committed as revision 25267 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26Move AVOptions from libavcodec to libavutilMichael Niedermayer
Originally committed as revision 25210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-20add FF_API_REGISTER_PROTOCOL define to disable the deprecatedAurelien Jacobs
register_protocol() function Originally committed as revision 24840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-19add FF_API_URL_CLASS define to enable usage of URLContext as a AVClassAurelien Jacobs
Originally committed as revision 24835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-18Allow all valid (and only valid) characters in URL scheme for url_open()Måns Rullgård
The URL specification allows letters, numbers, plus, hyphen, and period in the scheme part. The isalpha() test would allow additional characters depending on locale settings while rejecting numbers and punctuation. Originally committed as revision 24306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27Remove an unused label, fixing a warningEli Friedman
Patch by Eli Friedman, eli dot friedman at gmail Originally committed as revision 23828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-27Add proper const declaration to a cast, fixes a warningEli Friedman
Patch by Eli Friedman, eli dot friedman at gmail Originally committed as revision 23827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-23ReindentMartin Storsjö
Originally committed as revision 23735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22Add priv_data_size and priv_data_class to URLProtocolMartin Storsjö
This allows url_alloc to allocate and initialize the priv_data. Originally committed as revision 23706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22Split url_open and url_open_protocol into url_alloc and url_connectMartin Storsjö
Originally committed as revision 23704 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-22Add an av_register_protocol2 function that takes a size parameterMartin Storsjö
This allows extending the URLProtocol struct without breaking binary compatibility with code compiled with older definitions of the struct. Originally committed as revision 23702 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-01Declare the url_write buffer parameter as constMartin Storsjö
Originally committed as revision 23401 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-29Add version to AVClass so we can add to and use fields of AVClass without ↵Michael Niedermayer
ABI issues. Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk