diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2023-11-25 10:50:35 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2023-11-25 10:56:00 +0800 |
commit | bbdedd966312f72cb8d4ed6292ef233de0b23952 (patch) | |
tree | 2c8af67287e1450a26213cacb94d5044a14efe1f | |
parent | 7212466e735aa187d82f51dadbce957fe3da77f0 (diff) | |
download | ffmpeg-bbdedd966312f72cb8d4ed6292ef233de0b23952.tar.gz |
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>
-rw-r--r-- | libavformat/rtmpproto.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index a0c6195eb2..98718bc6da 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -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); |