OSDN Git Service

Documentation fix for url_f(d)open()
authorBjörn Axelsson <gecko@acc.umu.se>
Fri, 28 Sep 2007 15:12:26 +0000 (15:12 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Fri, 28 Sep 2007 15:12:26 +0000 (15:12 +0000)
Patch by Björn Axelsson bjorn axelsson intinor se

Originally committed as revision 10608 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/avio.h

index 0d43a7b..c8c9a04 100644 (file)
@@ -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);