Message ID | CA+fTBofQCSeb4nYZ0SBv0nSXExodgZeBcTs3qRgfROT1MvL7og@mail.gmail.com |
---|---|
State | New |
Headers | show |
On Thu, Dec 13, 2018, at 3:19 PM, tianhu yang wrote: > --- > libavformat/rtsp.c | 1 + > 1 file changed, 1 insertion(+) Thank you for the patch, but it does not apply. Please create patches with "git format-patch" or "git send-email", and provide a commit message.
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->session_id[0] = '\0'; av_log(s, AV_LOG_INFO, "Status %d: Redirecting to %s\n", reply->status_code, s->url); + . reply->status_code = 0;