History

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.

Zhao Zhili committed 2 years ago

Commit bbdedd91 parent 72124661 file · +0 −3Browse files

Unified · Split

libavformat/rtmpproto.c+0−3
@@ -2635,9 +2635,6 @@ static int rtmp_open(URLContext *s, const char *uri, int flags, AVDictionary **o · 2634 unmodified lines
2635 2635
2636 if (rt->listen_timeout > 0)2636 if (rt->listen_timeout > 0)
2637 rt->listen = 1;2637 rt->listen = 1;
2638 /* Pass rw_timeout to underlying transport protocol */
2639 if (s->rw_timeout > 0)
2640 av_dict_set_int(opts, "rw_timeout", s->rw_timeout, 0);
2641 2638
2642 rt->is_input = !(flags & AVIO_FLAG_WRITE);2639 rt->is_input = !(flags & AVIO_FLAG_WRITE);
2643 2640

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t