diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2013-12-24 19:27:34 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2013-12-25 21:42:26 +0400 |
commit | 1b4da43ce02452843a1e9bb976da1a39e18a945c (patch) | |
tree | 121f023947d6b8e512482a1e6ea73dc218c9ee2f /libavformat/tcp.c | |
parent | 702d9a23b3d3309fbc7bc7b09ac3271c42dc72dc (diff) |
doc/protocols/tcp,lavf/tcp: apply minor fixes to TCP protocol documentation
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 07026e3ede..e457fba94f 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -44,8 +44,8 @@ typedef struct TCPContext { #define E AV_OPT_FLAG_ENCODING_PARAM static const AVOption options[] = { {"listen", "listen on port instead of connecting", OFFSET(listen), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, D|E }, -{"timeout", "timeout of socket i/o operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, D|E }, -{"listen_timeout", "connection awaiting timeout", OFFSET(listen_timeout), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, D|E }, +{"timeout", "set timeout of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, D|E }, +{"listen_timeout", "set connection awaiting timeout", OFFSET(listen_timeout), AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX, D|E }, {NULL} }; |