summaryrefslogtreecommitdiff
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2010-06-14 08:12:40 +0000
committerMartin Storsjö <martin@martin.st>2010-06-14 08:12:40 +0000
commit41874d0a5df35732367f0c675eac914c23d65aee (patch)
treed864ac3af5eecb32eacc94eb1086d7b80f97cd25 /libavformat/rtsp.c
parent1f1916cea2161e0865d559689863ec9c71fcc041 (diff)
Reindent
Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23598 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index aa8f31b853..fc422aa488 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1618,13 +1618,13 @@ redirect:
ff_http_set_chunked_transfer_encoding(rtsp_hd_out, 0);
} else {
- /* open the tcp connexion */
- ff_url_join(tcpname, sizeof(tcpname), "tcp", NULL, host, port, NULL);
- if (url_open(&rtsp_hd, tcpname, URL_RDWR) < 0) {
- err = AVERROR(EIO);
- goto fail;
- }
- rtsp_hd_out = rtsp_hd;
+ /* open the tcp connexion */
+ ff_url_join(tcpname, sizeof(tcpname), "tcp", NULL, host, port, NULL);
+ if (url_open(&rtsp_hd, tcpname, URL_RDWR) < 0) {
+ err = AVERROR(EIO);
+ goto fail;
+ }
+ rtsp_hd_out = rtsp_hd;
}
rt->rtsp_hd = rtsp_hd;
rt->rtsp_hd_out = rtsp_hd_out;