aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2015-03-05 12:05:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-29 03:34:22 +0200
commit99de009e97d079dede1eb7a11525c69ddc44ed1e (patch)
treee393b88f3dc885de86625fee4b17c7e8838917b4
parent2a6f0c7e077eee6d834a58a5193e374bbfe18285 (diff)
downloadffmpeg-99de009e97d079dede1eb7a11525c69ddc44ed1e.tar.gz
doc/protocols/tcp: fix units of listen_timeout option value, from microseconds to milliseconds
s->listen_timeout is passed to ff_listen_bind(), which accepts a timeout value expressed in milliseconds. The unit was incorrectly set in 1b4da43ce02452843a1e9bb976da1a39e18a945c. (cherry picked from commit 6db20926c32ea297418f1f819585007c6b7b6160) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--doc/protocols.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index dc2fdb14fd..702f1573b0 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1081,8 +1081,8 @@ Set raise error timeout, expressed in microseconds.
This option is only relevant in read mode: if no data arrived in more
than this time interval, raise error.
-@item listen_timeout=@var{microseconds}
-Set listen timeout, expressed in microseconds.
+@item listen_timeout=@var{milliseconds}
+Set listen timeout, expressed in milliseconds.
@end table
The following example shows how to setup a listening TCP connection