From 3576f9c6298ca1435fd577ca4933990f6fa31d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Axelsson?= Date: Fri, 28 Sep 2007 15:12:26 +0000 Subject: [PATCH] =?UTF-8?q?Documentation=20fix=20for=20url=5Ff(d)open()=20?= =?UTF-8?q?Patch=20by=20Bj=C3=B6rn=20Axelsson=20bjorn=20axelsson=20intinor?= =?UTF-8?q?=20se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 10608 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/avio.h b/libavformat/avio.h index 0d43a7bc8e..c8c9a04aea 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -197,13 +197,15 @@ static inline int url_is_streamed(ByteIOContext *s) return s->is_streamed; } +/** @note when opened as read/write, the buffers are only used for + writing */ int url_fdopen(ByteIOContext *s, URLContext *h); /** @warning must be called before any I/O */ int url_setbufsize(ByteIOContext *s, int buf_size); /** @note when opened as read/write, the buffers are only used for - reading */ + writing */ int url_fopen(ByteIOContext *s, const char *filename, int flags); int url_fclose(ByteIOContext *s); URLContext *url_fileno(ByteIOContext *s);