mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
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
This commit is contained in:
parent
2a21adf924
commit
602eb77975
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user