Commit 6441d522 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '2f172f1a'

* commit '2f172f1a':
  rtsp: Clear the session id on redirects
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents d8ddac36 2f172f1a
......@@ -1816,6 +1816,7 @@ redirect:
ff_rtsp_close_connections(s);
if (reply->status_code >=300 && reply->status_code < 400 && s->iformat) {
av_strlcpy(s->filename, reply->location, sizeof(s->filename));
rt->session_id[0] = '\0';
av_log(s, AV_LOG_INFO, "Status %d: Redirecting to %s\n",
reply->status_code,
s->filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment