changeset 6129:fec869707e4f libavformat

Reindent Patch by Josh Allmann, joshua dot allmann at gmail
author mstorsjo
date Mon, 14 Jun 2010 08:12:40 +0000
parents c34ed49b26c6
children a972e847775b
files rtsp.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Mon Jun 14 07:05:59 2010 +0000
+++ b/rtsp.c	Mon Jun 14 08:12:40 2010 +0000
@@ -1618,13 +1618,13 @@
         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;