Commit 602eb779 authored by Martin Storsjö's avatar Martin Storsjö

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.

Originally committed as revision 22643 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2a21adf9
...@@ -1449,7 +1449,7 @@ redirect: ...@@ -1449,7 +1449,7 @@ redirect:
port = RTSP_DEFAULT_PORT; port = RTSP_DEFAULT_PORT;
/* search for options */ /* search for options */
option_list = strchr(path, '?'); option_list = strrchr(path, '?');
if (option_list) { if (option_list) {
/* Strip out the RTSP specific options, write out the rest of /* Strip out the RTSP specific options, write out the rest of
* the options back into the same string. */ * 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