Revert "avformat/rtmpproto: Pass rw_timeout to underlying transport protocol"
This reverts commit bec6dfcd5c0b59dd6d947ec3074986aeffd525aa. The patch is NOP since ffurl_open_whitelist copy options from parent automatically. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
7212466e73
commit
bbdedd9663
@ -2635,9 +2635,6 @@ static int rtmp_open(URLContext *s, const char *uri, int flags, AVDictionary **o
|
||||
|
||||
if (rt->listen_timeout > 0)
|
||||
rt->listen = 1;
|
||||
/* Pass rw_timeout to underlying transport protocol */
|
||||
if (s->rw_timeout > 0)
|
||||
av_dict_set_int(opts, "rw_timeout", s->rw_timeout, 0);
|
||||
|
||||
rt->is_input = !(flags & AVIO_FLAG_WRITE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user