Commit 7c55f4e0 authored by mstorsjo's avatar mstorsjo

Parse options in the RTSP URL only from the last question mark onwards

This helps if the URL (erroneously?) contains question marks within the path.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22643 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d7c929c8
......@@ -1449,7 +1449,7 @@ redirect:
port = RTSP_DEFAULT_PORT;
/* search for options */
option_list = strchr(path, '?');
option_list = strrchr(path, '?');
if (option_list) {
/* Strip out the RTSP specific options, write out the rest of
* the options back into the same string. */
......
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