提交 602eb779 编写于 作者: M 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
上级 2a21adf9
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册