summaryrefslogtreecommitdiff
path: root/libavformat/aviobuf.c
Commit message (Collapse)AuthorAge
* avio: add avio_open2, taking an interrupt callback and optionsMartin Storsjö2011-11-13
| | | | | | | | | | | 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>
* avio: add support for passing options to protocols.Anton Khirnov2011-11-13
| | | | | Not used anywhere yet, support for passing options from avio_open() will follow.
* avio: Add an AVIOInterruptCB parameter to ffurl_open/ffurl_allocMartin Storsjö2011-11-13
| | | | | Change all uses of these function to pass the relevant callback on.
* Remove some stray unnecessary ffmpeg references.Diego Biurrun2011-11-02
|
* avio: Check for invalid buffer length.Alex Converse2011-10-16
|
* avio: don't replicate avio_alloc_context functionality.Anton Khirnov2011-07-15
|
* avio: check AVIOContext malloc failureCan Wu2011-05-21
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbolsStefano Sabatini2011-04-19
| | | | | | | | 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.
* lavf: remove FF_API_URL_RESETBUF cruftAnton Khirnov2011-04-19
|
* avio: undeprecate av_url_read_fseek/fpause under nicer namesAnton Khirnov2011-04-12
| | | | It seems their replacements won't be ready anytime soon.
* avio: AVIO_ prefixes for URL_ open flags.Anton Khirnov2011-04-07
|
* avio: always compile dyn_buf functionsAnton Khirnov2011-04-05
| | | | | | Fixes build with --disable-muxers --disable-network. Thanks to Hendrik Leppkes for noticing.
* avio: deprecate url_max_packet_size().Anton Khirnov2011-04-04
| | | | URLContext.max_packet_size should be used directly.
* avio: make url_close() internal.Anton Khirnov2011-04-04
|
* avio: make url_seek() internal.Anton Khirnov2011-04-04
|
* avio: make url_write() internal.Anton Khirnov2011-04-04
|
* avio: make url_read() internal.Anton Khirnov2011-04-04
|
* avio: make url_open() internal.Anton Khirnov2011-04-04
|
* avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()Anton Khirnov2011-04-03
|
* avio: make url_fdopen internal.Anton Khirnov2011-04-03
| | | | | The unbuffered URLContext API will be made private, so there's no point in this function being public.
* avio: make url_open_dyn_packet_buf internal.Anton Khirnov2011-04-03
| | | | | | | 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.
* avio: avio_ prefix for url_close_dyn_bufAnton Khirnov2011-04-03
|
* avio: avio_ prefix for url_open_dyn_bufAnton Khirnov2011-04-03
|
* avio: introduce an AVIOContext.seekable fieldAnton Khirnov2011-04-03
| | | | Use it instead of url_is_streamed and AVIOContext.is_streamed.
* avio: make get_checksum() internal.Anton Khirnov2011-03-30
|
* avio: make init_checksum() internal.Anton Khirnov2011-03-30
|
* avio: make av_url_read_fseek/fpause internal.Anton Khirnov2011-03-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_filenoAnton Khirnov2011-03-20
| | | | | | | | 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>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename put_flush_packet -> avio_flushAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_close_bufAnton Khirnov2011-03-16
| | | | | | It's not used anywhere and its return value looks broken. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_open_bufAnton Khirnov2011-03-16
| | | | | | | 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>
* avio: always compile avio_printf, rather than on CONFIG_MUXERSAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fprintfAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: make url_setbufsize internal.Anton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: move ff_get_v from avio.h to avio_internal.hAnton Khirnov2011-03-16
| | | | | | And rename it to ffio_read_varlen. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_ferrorAnton Khirnov2011-03-15
| | | | | | AVIOContext.error should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: move ff_rewind_with_probe_data from avio.h to avio_internal.hAnton Khirnov2011-03-07
| | | | | | also change its prefix to ffio Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fget_max_packet_sizeAnton Khirnov2011-03-07
| | | | | | AVIOContext.max_packet_size should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fgetc and remove all it usesAnton Khirnov2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_fgetsAnton Khirnov2011-03-07
| | | | | | It's not used anywhere and doesn't look ver useful to be public. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: deprecate get_strz() in favor of avio_get_strAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_get_str()Reimar Döffinger2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aviobuf: Write new data at s->buf_end in fill_bufferMartin Storsjö2011-03-02
| | | | | | | | | | | | | | | In most cases, s->buf_ptr will be equal to s->buf_end when fill_buffer is called, but this may not always be the case, if we're seeking forward by reading (permitted by the short seek threshold). If fill_buffer is writing to s->buf_ptr instead of s->buf_end (when they aren't equal and s->buf_ptr is ahead of s->buffer), the data between s->buf_ptr and s->buf_end is overwritten, leading to inconsistent buffer content. This could return incorrect data if later seeking back into the area before the current s->buf_ptr. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avio: deprecate url_fskipAnton Khirnov2011-03-01
| | | | | | avio_seek should be used instead Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate put_tagAnton Khirnov2011-02-25
| | | | | | it's not used internally anymore and shouldn't be public. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>