[FFmpeg-devel] [PATCH] fix infinite loop for ff_rtsp_connect when failure of connection after redirection

2018-12-18 Thread tianhu yang
--- libavformat/rtsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index ceb770a3a4..af3e112152 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1923,6 +1923,7 @@ redirect: av_log(s, AV_LOG_INFO, "Status %d: Redirecting to %s\n",

[FFmpeg-devel] [PATCH] fix infinite retry issue for rtsp when the uri has redirection

2018-12-14 Thread tianhu yang
--- libavformat/rtsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index ceb770a3a4..6093424431 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1920,6 +1920,7 @@ redirect: } ff_format_set_url(s, new_url); rt->s