Mercurial > libavformat.hg
changeset 3151:65236eababe9 libavformat
Reindent after rtsp-alternate-protocol* patches.
author | rbultje |
---|---|
date | Wed, 19 Mar 2008 14:08:16 +0000 |
parents | 095003bbe73e |
children | 1d9a55c8d259 |
files | rtsp.c |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/rtsp.c Wed Mar 19 14:07:31 2008 +0000 +++ b/rtsp.c Wed Mar 19 14:08:16 2008 +0000 @@ -925,9 +925,8 @@ 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 @@ 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);