diff --git a/libavformat/avio.h b/libavformat/avio.h index 0d43a7bc8e5e1e609793afe442875cd9e98a95d6..c8c9a04aea03f802dfd20d4764434bfff126b51f 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);