OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a21adf
)
Parse options in the RTSP URL only from the last question mark onwards
author
Martin Storsjö
<martin@martin.st>
Tue, 23 Mar 2010 07:59:23 +0000
(07:59 +0000)
committer
Martin Storsjö
<martin@martin.st>
Tue, 23 Mar 2010 07:59:23 +0000
(07:59 +0000)
This helps if the URL (erroneously?) contains question marks within the path.
Originally committed as revision 22643 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
5a751f4
..
63103d0
100644
(file)
--- a/
libavformat/rtsp.c
+++ b/
libavformat/rtsp.c
@@
-1449,7
+1449,7
@@
redirect:
port = RTSP_DEFAULT_PORT;
/* search for options */
- option_list = strchr(path, '?');
+ option_list = str
r
chr(path, '?');
if (option_list) {
/* Strip out the RTSP specific options, write out the rest of
* the options back into the same string. */