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:
3e24c77
)
Don't follow RTSP redirects when used as a muxer
author
Martin Storsjö
<martin@martin.st>
Mon, 22 Feb 2010 15:57:40 +0000
(15:57 +0000)
committer
Martin Storsjö
<martin@martin.st>
Mon, 22 Feb 2010 15:57:40 +0000
(15:57 +0000)
Originally committed as revision 21966 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
4ea35d8
..
ba66fa7
100644
(file)
--- a/
libavformat/rtsp.c
+++ b/
libavformat/rtsp.c
@@
-1543,7
+1543,7
@@
redirect:
fail:
rtsp_close_streams(s);
url_close(rt->rtsp_hd);
- if (reply->status_code >=300 && reply->status_code < 400) {
+ if (reply->status_code >=300 && reply->status_code < 400
&& s->iformat
) {
av_strlcpy(s->filename, reply->location, sizeof(s->filename));
av_log(s, AV_LOG_INFO, "Status %d: Redirecting to %s\n",
reply->status_code,