summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
Commit message (Collapse)AuthorAge
* Add url_get_file_handle(), which is used to get the file descriptorRonald S. Bultje2009-03-03
| | | | | | | | | | | associated 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 deprecated by this patch and will be removed at the next major API bump. Originally committed as revision 17779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename register_protocol() to av_register_protocol() and deprecateStefano Sabatini2009-02-15
| | | | | | register_protocol(). Originally committed as revision 17322 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only special-case absolute DOS paths on systems that support them.Ramiro Polla2008-10-10
| | | | Originally committed as revision 15594 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-03
| | | | | | | 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
* Implement url_open_protocol(), which is basiclly the former url_open()Ronald S. Bultje2008-08-19
| | | | | | | | but which opens a URLProtocol instead of a filename. url_open() is reimplemented 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
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check url_seek() in url_open().Michael Niedermayer2008-05-05
| | | | Originally committed as revision 13061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVClass to URLContext at next major version bumpBjörn Axelsson2008-03-10
| | | | | | Patch by Björn Axelsson (bjorn axelsson intinor se) Originally committed as revision 12411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* url_write is part of the public API so it may not be under ifdef.Guillaume LecrefECERF2008-01-08
| | | | | | | Also fixes a compile error if all muxers and protocols are disabled. Patch by Guillaume LECERF (foxcore gmail com) Originally committed as revision 11469 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make recently added and still unused read_seek functions return offset_t.Michael Niedermayer2007-12-19
| | | | Originally committed as revision 11274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge recently added and still unused play and pause functions.Michael Niedermayer2007-12-19
| | | | Originally committed as revision 11273 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove dead code which disappeared with the last major version bump.Michael Niedermayer2007-12-19
| | | | Originally committed as revision 11268 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_*_next() API for libavformatMichael Niedermayer2007-12-12
| | | | Originally committed as revision 11206 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend URLProtocol with new function pointers and api functions forBjörn Axelsson2007-11-24
| | | | | | | | av_url_read_play(), av_url_read_pause() and av_url_read_seek(). patch by: Björn Axelsson, bjorn d axelsson a intinor d se Originally committed as revision 11086 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call prot->url_close only if it is present.Alex Beregszaszi2007-11-16
| | | | Originally committed as revision 11044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check context before accessing its field.Thorsten Jordan2007-11-07
| | | | | | Patch by Thorsten Jordan: tjordan macrosystem de Originally committed as revision 10939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use new string functionsMåns Rullgård2007-06-23
| | | | | | based on patch by Reimar Döffinger Originally committed as revision 9401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move avio.h's url_get_max_packet_size() comment from source to header file.Panagiotis Issaris2007-03-05
| | | | | | | Remove the comment section of url_set_interrupt_cb() which was a duplicate as it appeared identically in both the header and the source file. Originally committed as revision 8259 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This fixes error handling for BeOS, removing the need for some ifdefs.François Revol2007-02-13
| | | | | | | | | AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else theRonald S. Bultje2007-01-30
| | | | | | | | | | | | return value may still end up being zero (if the seek returns -1, which is e.g. what file.c will return on error), which is a valid (but incorrect) filesize. Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net % Original thread: date: Jan 2, 2007 2:11 AM subject: [Ffmpeg-devel] Re: [PATCH] file length handling Originally committed as revision 7765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* makes the filename member of the URLContext a pointer, so that theRonald S. Bultje2007-01-14
| | | | | | | | | | structure can be extended in the future without breaking ABI. patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net % Original thread: Date: Jan 1, 2007 6:01 PM Subject: [Ffmpeg-devel] make URLContext->filename a pointer Originally committed as revision 7506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indention of previous commitMichael Niedermayer2007-01-01
| | | | Originally committed as revision 7396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* seekless filesize retrieving support in 7 lines of code, also doesnt break ↵Michael Niedermayer2007-01-01
| | | | | | compatibility Originally committed as revision 7395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add --disable-protocols option to configure to disable I/O protocol fromGildas Bazin2006-01-21
| | | | | | | libavformat. Also fix build with --disable-muxers and --disable-ffserver. patch by Gildas Bazin < gbazin **@** altern **.** org > Originally committed as revision 4879 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERSDiego Biurrun2005-09-23
| | | | | | | in libavformat to allow building (de)coders and (de)muxers independently at some point + support for this option in configure. Originally committed as revision 4611 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sweeping change from -EIO -> AVERROR_IOMike Melanson2004-06-19
| | | | Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid seeking to the end, as it confuses some crappy codeMichael Niedermayer2004-04-11
| | | | Originally committed as revision 2996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* disable encoders where appropriate (patch courtesy of BEROMike Melanson2003-10-14
| | | | | | <bero -at- geocities.co.jp>) Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed ctype.h headerFabrice Bellard2003-09-08
| | | | Originally committed as revision 2225 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added primitive aborting systemFabrice Bellard2003-07-17
| | | | Originally committed as revision 2058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid false URL protocol detection when using ':' in filenamesFabrice Bellard2003-02-21
| | | | Originally committed as revision 1595 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added url_get_filename()Fabrice Bellard2003-01-11
| | | | Originally committed as revision 1438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* renamed libav to libavformatFabrice Bellard2002-11-25
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk