# HG changeset patch # User benoit # Date 1190992346 0 # Node ID 1f9d02d072a7bb2a955bc71fe1ab9111e3a7c587 # Parent d71f084d9835a2de1085419a17d33925903e0555 Documentation fix for url_f(d)open() Patch by Bj«Órn Axelsson bjorn axelsson intinor se diff -r d71f084d9835 -r 1f9d02d072a7 avio.h --- a/avio.h Thu Sep 27 19:18:07 2007 +0000 +++ b/avio.h Fri Sep 28 15:12:26 2007 +0000 @@ -197,13 +197,15 @@ 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);