[FFmpeg-cvslog] r12506 - trunk/libavformat/rtsp.c

rbultje subversion
Wed Mar 19 15:08:16 CET 2008


Author: rbultje
Date: Wed Mar 19 15:08:16 2008
New Revision: 12506

Log:
Reindent after rtsp-alternate-protocol* patches.



Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	(original)
+++ trunk/libavformat/rtsp.c	Wed Mar 19 15:08:16 2008
@@ -925,9 +925,8 @@ make_setup_request (AVFormatContext *s, 
         if (reply->status_code == 461 /* Unsupported protocol */ && i == 0) {
             err = 1;
             goto fail;
-        } else
-        if (reply->status_code != RTSP_STATUS_OK ||
-            reply->nb_transports != 1) {
+        } else if (reply->status_code != RTSP_STATUS_OK ||
+                   reply->nb_transports != 1) {
             err = AVERROR_INVALIDDATA;
             goto fail;
         }
@@ -1092,7 +1091,7 @@ static int rtsp_read_header(AVFormatCont
 
         err = make_setup_request(s, host, port, protocol);
         if (err < 0)
-        goto fail;
+            goto fail;
         protocol_mask &= ~(1 << protocol);
         if (protocol_mask == 0 && err == 1) {
             err = AVERROR(EPROTONOSUPPORT);




More information about the ffmpeg-cvslog mailing list