mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
Merge commit '2f172f1ae984b763c06069adb51d0053b3834f4b'
* commit '2f172f1ae984b763c06069adb51d0053b3834f4b': rtsp: Clear the session id on redirects Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
6441d522e9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user