[FFmpeg-cvslog] r22643 - trunk/libavformat/rtsp.c
mstorsjo
subversion
Tue Mar 23 08:59:23 CET 2010
Author: mstorsjo
Date: Tue Mar 23 08:59:23 2010
New Revision: 22643
Log:
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.
Modified:
trunk/libavformat/rtsp.c
Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c Tue Mar 23 08:55:15 2010 (r22642)
+++ trunk/libavformat/rtsp.c Tue Mar 23 08:59:23 2010 (r22643)
@@ -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. */
More information about the ffmpeg-cvslog
mailing list