Revert "avformat/rtmpproto: Pass rw_timeout to underlying transport protocol"

This reverts commit bec6dfcd5c.

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:
Zhao Zhili 2023-11-25 10:50:35 +08:00
parent 7212466e73
commit bbdedd9663

View File

@ -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);