Commit c5c4e583 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e14f98c6'

* commit 'e14f98c6':
  tcp: Clarify the units for the timeout avoptions

Conflicts:
	libavformat/tcp.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 1fb36423 e14f98c6
......@@ -46,7 +46,7 @@ typedef struct TCPContext {
static const AVOption options[] = {
{ "listen", "Listen for incoming connections", OFFSET(listen), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, .flags = D|E },
{ "timeout", "set timeout (in microseconds) of socket I/O operations", OFFSET(rw_timeout), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
{ "listen_timeout", "Connection awaiting timeout", OFFSET(listen_timeout), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
{ "listen_timeout", "Connection awaiting timeout (in milliseconds)", OFFSET(listen_timeout), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
{ NULL }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment