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
2013-01-03aviobuf: Discard old buffered, previously read data in ffio_read_partialMartin Storsjö
This makes RTP custom IO work properly with pure read-only AVIOContexts as well. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-01-03aviobuf: Partial support for reading in read/write contextsMartin Storsjö
So far, aviocontexts are used either in pure-read or pure-write mode - full read/write mode doesn't work well (and implementing it is a much larger, not totally trivial change). This patch allows using avio_read and ffio_read_partial on read/write aviocontexts, where the read operations are passed through directly unbuffered, while writes are buffered as usual. This is enough to support the operations needed by packet based data transfer like in udp/rtp, where aviocontext is the only public API for hooking up custom IO. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-12-09avio: K&R cosmetic formattingLuca Barbato
2012-10-18aviobuf: Remove a senseless ifdef in avio_seekMartin Storsjö
This seemed to assume that one never used writing avio unless muxers or networking was enabled. This ifdef is a remnant since 8fa641f8. Signed-off-by: Martin Storsjö <martin@martin.st>
2012-10-10avio: introduce avio_closepLuca Barbato
2012-09-15avio: flush the internal buffer in avio_close()Stefano Sabatini
This is consistent with stdio, and thus what people would naturally expect.
2012-09-04avio: make avio_close NULL the freed bufferLuca Barbato
2012-04-28avio: make avio_close(NULL) a no-opLuca Barbato
Its behaviour in line with ffurl_close(NULL).
2012-01-27lavf: remove disabled FF_API_OLD_AVIO cruftAnton Khirnov
2012-01-08cosmetics: drop some pointless parenthesesDiego Biurrun
2012-01-04avio: exit early in fill_buffer without read_packetJanne Grunau
Fixes an invalid free() with ass in avi. The sample in bug 98 passes parts of AVPacket.data as buffer for the AVIOContext. Since the packet is quite large fill_buffer tries to reallocate the buffer before doing nothing. Fixes bug 98.
2011-11-13avio: add avio_open2, taking an interrupt callback and optionsMartin Storsjö
The interrupt callback has to be passed in during opening (setting it after opening isn't enough), since a blocking open couldn't be interrupted otherwise. Options are passed down to procotols and also need to be available during open() in most cases. Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-11-13avio: add support for passing options to protocols.Anton Khirnov
Not used anywhere yet, support for passing options from avio_open() will follow.
2011-11-13avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_allocMartin Storsjö
Change all uses of these function to pass the relevant callback on.
2011-11-02Remove some stray unnecessary ffmpeg references.Diego Biurrun
2011-10-17avio: Check for invalid buffer length.Alex Converse
2011-07-15avio: don't replicate avio_alloc_context functionality.Anton Khirnov
2011-05-21avio: check AVIOContext malloc failureCan Wu
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_RESETBUF cruftAnton Khirnov
2011-04-12avio: undeprecate av_url_read_fseek/fpause under nicer namesAnton Khirnov
It seems their replacements won't be ready anytime soon.
2011-04-07avio: AVIO_ prefixes for URL_ open flags.Anton Khirnov
2011-04-05avio: always compile dyn_buf functionsAnton Khirnov
Fixes build with --disable-muxers --disable-network. Thanks to Hendrik Leppkes for noticing.
2011-04-04avio: deprecate url_max_packet_size().Anton Khirnov
URLContext.max_packet_size should be used directly.
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() internal.Anton Khirnov
2011-04-04avio: make url_open() internal.Anton Khirnov
2011-04-04avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()Anton Khirnov
2011-04-04avio: make url_fdopen internal.Anton Khirnov
The unbuffered URLContext API will be made private, so there's no point in this function being public.
2011-04-04avio: make url_open_dyn_packet_buf internal.Anton Khirnov
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.
2011-04-04avio: avio_ prefix for url_close_dyn_bufAnton Khirnov
2011-04-04avio: avio_ prefix for url_open_dyn_bufAnton Khirnov
2011-04-04avio: introduce an AVIOContext.seekable fieldAnton Khirnov
Use it instead of url_is_streamed and AVIOContext.is_streamed.
2011-03-30avio: make get_checksum() internal.Anton Khirnov
2011-03-30avio: make init_checksum() internal.Anton Khirnov
2011-03-21avio: make av_url_read_fseek/fpause internal.Anton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-21avio: deprecate url_filenoAnton Khirnov
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>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-03-17avio: rename put_flush_packet -> avio_flushAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-17avio: deprecate url_close_bufAnton Khirnov
It's not used anywhere and its return value looks broken. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-17avio: deprecate url_open_bufAnton Khirnov
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>
2011-03-17avio: always compile avio_printf, rather than on CONFIG_MUXERSAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-17avio: avio_ prefix for url_fprintfAnton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-17avio: make url_setbufsize internal.Anton Khirnov
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-17lavf: move ff_get_v from avio.h to avio_internal.hAnton Khirnov
And rename it to ffio_read_varlen. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-15avio: deprecate url_ferrorAnton Khirnov
AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-03-08avio: deprecate url_feofAnton Khirnov
AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>