[FFmpeg-devel] [PATCH] avformat/network: fix comments

Zhao Zhili quinkblack at foxmail.com
Mon Aug 24 19:41:41 EEST 2020


---
 libavformat/network.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/network.h b/libavformat/network.h
index 71347e815b..18e2dd6e5e 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -249,7 +249,7 @@ int ff_is_multicast_address(struct sockaddr *addr);
 #define POLLING_TIME 100 /// Time in milliseconds between interrupt check
 
 /**
- * Bind to a file descriptor and poll for a connection.
+ * Bind an address to a file descriptor and poll for a connection.
  *
  * @param fd      First argument of bind().
  * @param addr    Second argument of bind().
@@ -265,7 +265,7 @@ int ff_listen_bind(int fd, const struct sockaddr *addr,
                    URLContext *h);
 
 /**
- * Bind to a file descriptor to an address without accepting connections.
+ * Bind an address to a file descriptor without accepting connections.
  * @param fd      First argument of bind().
  * @param addr    Second argument of bind().
  * @param addrlen Third argument of bind().
-- 
2.25.1



More information about the ffmpeg-devel mailing list