Message ID | CA+fTBodWmfhDXSMsE=WfBdyRyJxyiVv-Q6joknbPT=-1o1YdWg@mail.gmail.com |
---|---|
State | New |
Headers | show |
On Tue, Dec 18, 2018 at 01:26:35PM -0800, tianhu yang wrote: > --- > libavformat/rtsp.c | 1 + > 1 file changed, 1 insertion(+) how can the bug be reproduced ? thx [...]
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", reply->status_code, s->url); + reply->status_code = 0; goto redirect; } fail2: