mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 12:27:18 +00:00
Reindent after rtsp-alternate-protocol* patches.
Originally committed as revision 12506 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8792f52a9b
commit
7e6ca34f27
@ -925,8 +925,7 @@ make_setup_request (AVFormatContext *s, const char *host, int port, int protocol
|
|||||||
if (reply->status_code == 461 /* Unsupported protocol */ && i == 0) {
|
if (reply->status_code == 461 /* Unsupported protocol */ && i == 0) {
|
||||||
err = 1;
|
err = 1;
|
||||||
goto fail;
|
goto fail;
|
||||||
} else
|
} else if (reply->status_code != RTSP_STATUS_OK ||
|
||||||
if (reply->status_code != RTSP_STATUS_OK ||
|
|
||||||
reply->nb_transports != 1) {
|
reply->nb_transports != 1) {
|
||||||
err = AVERROR_INVALIDDATA;
|
err = AVERROR_INVALIDDATA;
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Loading…
Reference in New Issue
Block a user